Skip to content

Commit 3feef8e

Browse files
committed
move test to llvm/test/Assembler
1 parent e631ea0 commit 3feef8e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

llvm/test/Assembler/convergence-control.ll

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ define void @mixed2() {
2424
ret void
2525
}
2626

27+
; convergence control token can be used on non-convergent calls,
28+
; but it has no effect.
29+
define void @mixed3() {
30+
%t05_tok1 = call token @llvm.experimental.convergence.anchor()
31+
call void @g() [ "convergencectrl"(token %t05_tok1) ]
32+
ret void
33+
}
2734

2835
define void @region_nesting1(i1 %arg) convergent {
2936
A:

llvm/test/Verifier/convergencectrl-invalid.ll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ define void @wrong_token() {
2020
ret void
2121
}
2222

23-
; convergence control token can be used on non-convergent calls, but it has no effect.
24-
; CHECK-NEXT call void @g(){{.*}}%t05_tok1
25-
define void @missing.attribute() {
26-
%t05_tok1 = call token @llvm.experimental.convergence.anchor()
27-
call void @g() [ "convergencectrl"(token %t05_tok1) ]
28-
ret void
29-
}
30-
3123
; CHECK: The 'convergencectrl' bundle requires exactly one token use.
3224
; CHECK-NEXT: call void @g()
3325
define void @multiple_tokens() {

0 commit comments

Comments
 (0)