Commit a048616
committed
[mlir][spirv] Add convergent attribute to builtin
Add the `convergent` attribute to builtin functions and builtin function
calls when lowering SPIR-V non-uniform group functions to LLVM dialect.
Signed-off-by: Lukas Sommer <[email protected]>1 parent b054289 commit a048616
File tree
2 files changed
+40
-41
lines changed- mlir
- lib/Conversion/SPIRVToLLVM
- test/Conversion/SPIRVToLLVM
2 files changed
+40
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | | - | |
1032 | | - | |
| 1031 | + | |
1033 | 1032 | | |
1034 | 1033 | | |
1035 | 1034 | | |
| |||
1040 | 1039 | | |
1041 | 1040 | | |
1042 | 1041 | | |
1043 | | - | |
| 1042 | + | |
1044 | 1043 | | |
1045 | 1044 | | |
1046 | 1045 | | |
| |||
1253 | 1252 | | |
1254 | 1253 | | |
1255 | 1254 | | |
1256 | | - | |
1257 | | - | |
| 1255 | + | |
| 1256 | + | |
1258 | 1257 | | |
1259 | 1258 | | |
1260 | 1259 | | |
| |||
0 commit comments