Commit 9596a0e
[flang][cuda][NFC] Use NVVM operation for thread syncs (llvm#166999)
Use the operation introduced in llvm#166698. Also split the test into a new
file since `flang/test/Lower/CUDA/cuda-device-proc.cuf` is getting to
big. I'm planning to reorganize this file to have better separation of
the tests1 parent 17ee39a commit 9596a0e
File tree
3 files changed
+20
-24
lines changed- flang
- lib/Optimizer/Builder
- test/Lower/CUDA
3 files changed
+20
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
| 1312 | + | |
| 1313 | + | |
1318 | 1314 | | |
1319 | 1315 | | |
1320 | 1316 | | |
1321 | 1317 | | |
1322 | 1318 | | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
| 1319 | + | |
| 1320 | + | |
1329 | 1321 | | |
1330 | 1322 | | |
1331 | 1323 | | |
1332 | 1324 | | |
1333 | 1325 | | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
| 1326 | + | |
| 1327 | + | |
1340 | 1328 | | |
1341 | 1329 | | |
1342 | 1330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
| |||
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 106 | | |
113 | 107 | | |
114 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments