Commit 7288f1b
authored
[flang][cuda] Use nvvm operation for match any (llvm#134283)
The string used for intrinsic was not the correct one
"llvm.nvvm.match.any.sync.i32p". There was an extra `p` at the end.
Use the NVVM operation instead so we don't duplicate it.1 parent b393ca6 commit 7288f1b
File tree
3 files changed
+16
-23
lines changed- flang
- include/flang/Optimizer/Support
- lib/Optimizer/Builder
- test/Lower/CUDA
3 files changed
+16
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
6552 | 6553 | | |
6553 | 6554 | | |
6554 | 6555 | | |
6555 | | - | |
6556 | | - | |
6557 | | - | |
6558 | | - | |
6559 | | - | |
6560 | | - | |
| 6556 | + | |
| 6557 | + | |
| 6558 | + | |
| 6559 | + | |
6561 | 6560 | | |
6562 | | - | |
6563 | | - | |
6564 | | - | |
6565 | | - | |
6566 | | - | |
6567 | | - | |
6568 | | - | |
6569 | | - | |
6570 | | - | |
6571 | | - | |
| 6561 | + | |
| 6562 | + | |
| 6563 | + | |
| 6564 | + | |
6572 | 6565 | | |
6573 | 6566 | | |
6574 | 6567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
152 | 150 | | |
153 | 151 | | |
154 | 152 | | |
| |||
0 commit comments