File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ void test6() {
92
92
// CHECK: [[C1:%[a-zA-Z0-9]+]] = call spir_func noundef i1 @_Z4condv() [[A3]] [ "convergencectrl"(token [[T1]]) ]
93
93
// CHECK: br i1 [[C1]], label %if.then, label %if.end
94
94
// CHECK: if.then:
95
- // CHECK call spir_func void @_Z3foov() [[A3:#[0-9]+]] [ "convergencectrl"(token [[T1]]) ]
95
+ // CHECK: call spir_func void @_Z3foov() [[A3:#[0-9]+]] [ "convergencectrl"(token [[T1]]) ]
96
96
// CHECK: br label %for.end
97
97
// CHECK: if.end:
98
98
// CHECK: br label %for.inc
Original file line number Diff line number Diff line change 4
4
void test () {
5
5
6
6
// CHECK: VarDecl {{.*}} used f3 'vector<float, 3>':'float __attribute__((ext_vector_type(3)))' cinit
7
- // CHECK-NEXt: ImplicitCastExpr {{.*}} 'vector<float, 3>':'float __attribute__((ext_vector_type(3)))' <VectorSplat>
8
- // CHECK-NEXt: ImplicitCastExpr {{.*}} 'float' <FloatingCast>
9
- // CHECK-NEXt: FloatingLiteral {{.*}} 'double' 1.000000e+00
7
+ // CHECK-NEXT: ImplicitCastExpr {{.*}} 'vector<float, 3>':'float __attribute__((ext_vector_type(3)))' <VectorSplat>
8
+ // CHECK-NEXT: FloatingLiteral {{.*}} 'float' 1.000000e+00
10
9
vector <float ,3 > f3 = 1.0 ; // No warning for splatting to a vector from a literal.
11
10
12
11
You can’t perform that action at this time.
0 commit comments