Skip to content

Commit 440064b

Browse files
committed
Drop upstream divergence in a test
This demonstrates the hazards of -NOT checks, this was checking for no call to a function not called in the first place.
1 parent d9ff7c0 commit 440064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGenOpenCL/convergent.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void test_merge_if(int a) {
6565
// CHECK: br i1 %[[tobool]], label %[[if_end:.+]], label %[[if_then:.+]]
6666
// CHECK: [[if_then]]:
6767
// CHECK: tail call spir_func void @f()
68-
// CHECK-NOT: call spir_func void @non_convfun()
68+
// CHECK-NOT: call spir_func void @convfun()
6969
// CHECK-NOT: call spir_func void @g()
7070
// CHECK: br label %[[if_end]]
7171
// CHECK: [[if_end]]:

0 commit comments

Comments
 (0)