brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.0 KiB · 29a5efc Raw
73 lines · plain
1; RUN: llc  -mcpu=pwr9 -mtriple=powerpc64-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s2; RUN: llc  -mcpu=pwr9 -mtriple=powerpc64le-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s3; RUN: llc  -mcpu=pwr8 -mtriple=powerpc64-unknown-linux-gnu -disable-ppc-ctrloops < %s -verify-machineinstrs \4; RUN: | FileCheck %s --check-prefix=CHECK-ITIN5; RUN: llc  -mcpu=pwr8 -mtriple=powerpc64le-unknown-linux-gnu -disable-ppc-ctrloops < %s -verify-machineinstrs \6; RUN: | FileCheck %s --check-prefix=CHECK-ITIN7 8 9%0 = type { i32, i32 }10 11; Function Attrs: norecurse nounwind writeonly12define void @initCombList(ptr nocapture, i32 signext) local_unnamed_addr #0 {13; CHECK-LABEL: initCombList:14; CHECK: addi 4, 4, -815; CHECK: stwu [[REG:[0-9]+]], 64(3)16 17; CHECK-ITIN-LABEL: initCombList:18; CHECK-ITIN:   addi [[REG2:[0-9]+]], [[REG2]], 819; CHECK-ITIN-NEXT: stwu [[REG:[0-9]+]], 64(3)20 21 22  %3 = zext i32 %1 to i6423  br i1 undef, label %6, label %424 25; <label>:4:                                      ; preds = %226  store i32 0, ptr undef, align 4, !tbaa !127  %5 = add nuw nsw i64 0, 128  br label %629 30; <label>:6:                                      ; preds = %4, %231  %7 = phi i64 [ 0, %2 ], [ %5, %4 ]32  br i1 undef, label %23, label %833 34; <label>:8:                                      ; preds = %8, %635  %9 = phi i64 [ %21, %8 ], [ %7, %6 ]36  %10 = getelementptr inbounds %0, ptr %0, i64 %9, i32 137  store i32 0, ptr %10, align 4, !tbaa !138  %11 = add nuw nsw i64 %9, 139  %12 = getelementptr inbounds %0, ptr %0, i64 %11, i32 140  store i32 0, ptr %12, align 4, !tbaa !141  %13 = add nsw i64 %9, 242  %14 = getelementptr inbounds %0, ptr %0, i64 %13, i32 143  store i32 0, ptr %14, align 4, !tbaa !144  %15 = add nsw i64 %9, 345  %16 = getelementptr inbounds %0, ptr %0, i64 %15, i32 146  store i32 0, ptr %16, align 4, !tbaa !147  %17 = add nsw i64 %9, 448  %18 = getelementptr inbounds %0, ptr %0, i64 %17, i32 149  store i32 0, ptr %18, align 4, !tbaa !150  %19 = add nsw i64 %9, 651  %20 = getelementptr inbounds %0, ptr %0, i64 %19, i32 152  store i32 0, ptr %20, align 4, !tbaa !153  %21 = add nsw i64 %9, 854  %22 = icmp eq i64 %21, %355  br i1 %22, label %23, label %8, !llvm.loop !656 57; <label>:23:                                     ; preds = %8, %658  ret void59}60 61attributes #0 = { norecurse nounwind writeonly "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="ppc64le" "target-features"="+altivec,+bpermd,+crypto,+direct-move,+extdiv,+htm,+power8-vector,+vsx,-power9-vector" "use-soft-float"="false" }62 63!llvm.ident = !{!0}64 65!0 = !{!"clang version 8.0.0 "}66!1 = !{!2, !3, i64 4}67!2 = !{!"", !3, i64 0, !3, i64 4}68!3 = !{!"int", !4, i64 0}69!4 = !{!"omnipotent char", !5, i64 0}70!5 = !{!"Simple C/C++ TBAA"}71!6 = distinct !{!6, !7}72!7 = !{!"llvm.loop.isvectorized", i32 1}73