Skip to content

Commit c6ee562

Browse files
authored
[HLSL] Fix FileCheck annotation typos (#95155)
These are the HLSL specific fixes from #93193. Thanks klensy!
1 parent a118f5f commit c6ee562

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

clang/test/CodeGenHLSL/convergence/for.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void test6() {
9292
// CHECK: [[C1:%[a-zA-Z0-9]+]] = call spir_func noundef i1 @_Z4condv() [[A3]] [ "convergencectrl"(token [[T1]]) ]
9393
// CHECK: br i1 [[C1]], label %if.then, label %if.end
9494
// 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]]) ]
9696
// CHECK: br label %for.end
9797
// CHECK: if.end:
9898
// CHECK: br label %for.inc

clang/test/SemaHLSL/standard_conversion_sequences.hlsl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
void test() {
55

66
// 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
109
vector<float,3> f3 = 1.0; // No warning for splatting to a vector from a literal.
1110

1211

0 commit comments

Comments
 (0)