File tree Expand file tree Collapse file tree 3 files changed +9
-15
lines changed
llvm/test/Transforms/LoopVectorize Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 11; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2- ; RUN: opt -passes=loop-vectorize -force-vector-interleave=1 -force-vector-width=4 -S < %s | FileCheck %s --check-prefixes=CHECK, CHECK-VF4IC1
3- ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=4 -S < %s | FileCheck %s --check-prefixes=CHECK, CHECK-VF4IC4
4- ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=1 -S < %s | FileCheck %s --check-prefixes=CHECK, CHECK-VF1IC4
2+ ; RUN: opt -passes=loop-vectorize -force-vector-interleave=1 -force-vector-width=4 -S < %s | FileCheck %s --check-prefix= CHECK-VF4IC1
3+ ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=4 -S < %s | FileCheck %s --check-prefix= CHECK-VF4IC4
4+ ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=1 -S < %s | FileCheck %s --check-prefix= CHECK-VF1IC4
55
66; About the truncated test cases, the range analysis of induction variable is
77; used to ensure the induction variable is always greater than the sentinal
@@ -1250,5 +1250,3 @@ exit: ; preds = %for.body, %entry
12501250; CHECK-VF1IC4: [[LOOP6]] = distinct !{[[LOOP6]], [[META1]], [[META2]]}
12511251; CHECK-VF1IC4: [[LOOP7]] = distinct !{[[LOOP7]], [[META1]]}
12521252;.
1253- ;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
1254- ; CHECK: {{.*}}
Original file line number Diff line number Diff line change 11; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2- ; RUN: opt -passes=loop-vectorize -force-vector-interleave=1 -force-vector-width=4 -S < %s | FileCheck %s --check-prefixes=CHECK, CHECK-VF4IC1
3- ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=4 -S < %s | FileCheck %s --check-prefixes=CHECK, CHECK-VF4IC4
4- ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=1 -S < %s | FileCheck %s --check-prefixes=CHECK, CHECK-VF1IC4
2+ ; RUN: opt -passes=loop-vectorize -force-vector-interleave=1 -force-vector-width=4 -S < %s | FileCheck %s --check-prefix= CHECK-VF4IC1
3+ ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=4 -S < %s | FileCheck %s --check-prefix= CHECK-VF4IC4
4+ ; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=1 -S < %s | FileCheck %s --check-prefix= CHECK-VF1IC4
55
66define i64 @select_icmp_const_1 (ptr %a , i64 %n ) {
77; CHECK-VF4IC1-LABEL: define i64 @select_icmp_const_1(
@@ -2239,5 +2239,3 @@ exit: ; preds = %for.body
22392239; CHECK-VF1IC4: [[LOOP16]] = distinct !{[[LOOP16]], [[META1]], [[META2]]}
22402240; CHECK-VF1IC4: [[LOOP17]] = distinct !{[[LOOP17]], [[META1]]}
22412241;.
2242- ;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
2243- ; CHECK: {{.*}}
Original file line number Diff line number Diff line change 11; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2- ; RUN: opt -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -S %s | FileCheck %s --check-prefix=CHECK-VF4IC1 --check-prefix=CHECK
3- ; RUN: opt -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S %s | FileCheck %s --check-prefix=CHECK-VF4IC2 --check-prefix=CHECK
4- ; RUN: opt -passes=loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S %s | FileCheck %s --check-prefix=CHECK-VF1IC2 --check-prefix=CHECK
2+ ; RUN: opt -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=1 -S %s | FileCheck %s --check-prefix=CHECK-VF4IC1
3+ ; RUN: opt -passes=loop-vectorize -force-vector-width=4 -force-vector-interleave=2 -S %s | FileCheck %s --check-prefix=CHECK-VF4IC2
4+ ; RUN: opt -passes=loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S %s | FileCheck %s --check-prefix=CHECK-VF1IC2
55
66; Test cases for selecting the index with the minimum value.
77
@@ -1085,5 +1085,3 @@ declare i16 @llvm.umin.i16(i16, i16)
10851085; CHECK-VF1IC2: [[META2]] = !{!"llvm.loop.unroll.runtime.disable"}
10861086; CHECK-VF1IC2: [[LOOP3]] = distinct !{[[LOOP3]], [[META1]]}
10871087;.
1088- ;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
1089- ; CHECK: {{.*}}
You can’t perform that action at this time.
0 commit comments