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 1
1
; 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
5
5
6
6
; About the truncated test cases, the range analysis of induction variable is
7
7
; used to ensure the induction variable is always greater than the sentinal
@@ -1250,5 +1250,3 @@ exit: ; preds = %for.body, %entry
1250
1250
; CHECK-VF1IC4: [[LOOP6]] = distinct !{[[LOOP6]], [[META1]], [[META2]]}
1251
1251
; CHECK-VF1IC4: [[LOOP7]] = distinct !{[[LOOP7]], [[META1]]}
1252
1252
;.
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 1
1
; 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
5
5
6
6
define i64 @select_icmp_const_1 (ptr %a , i64 %n ) {
7
7
; CHECK-VF4IC1-LABEL: define i64 @select_icmp_const_1(
@@ -2239,5 +2239,3 @@ exit: ; preds = %for.body
2239
2239
; CHECK-VF1IC4: [[LOOP16]] = distinct !{[[LOOP16]], [[META1]], [[META2]]}
2240
2240
; CHECK-VF1IC4: [[LOOP17]] = distinct !{[[LOOP17]], [[META1]]}
2241
2241
;.
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 1
1
; 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
5
5
6
6
; Test cases for selecting the index with the minimum value.
7
7
@@ -1085,5 +1085,3 @@ declare i16 @llvm.umin.i16(i16, i16)
1085
1085
; CHECK-VF1IC2: [[META2]] = !{!"llvm.loop.unroll.runtime.disable"}
1086
1086
; CHECK-VF1IC2: [[LOOP3]] = distinct !{[[LOOP3]], [[META1]]}
1087
1087
;.
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