File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff 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
2835define void @region_nesting1 (i1 %arg ) convergent {
2936A:
Original file line number Diff line number Diff 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()
3325define void @multiple_tokens () {
You can’t perform that action at this time.
0 commit comments