Commit 6a1b119
authored
[AMDGPU] Add intrinsics for atomic struct buffer loads (llvm#100140)
Mark these intrinsics as atomic loads within LLVM to prevent hoisting
out of loops in cases where
the load is considered invariant.
Similar to llvm#97707, but for
struct buffer loads.1 parent 666e332 commit 6a1b119
File tree
6 files changed
+772
-3
lines changed- llvm
- include/llvm/IR
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
6 files changed
+772
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
1203 | 1220 | | |
1204 | 1221 | | |
1205 | 1222 | | |
| |||
1219 | 1236 | | |
1220 | 1237 | | |
1221 | 1238 | | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1222 | 1257 | | |
1223 | 1258 | | |
1224 | 1259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7375 | 7375 | | |
7376 | 7376 | | |
7377 | 7377 | | |
| 7378 | + | |
| 7379 | + | |
7378 | 7380 | | |
7379 | 7381 | | |
7380 | 7382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5020 | 5020 | | |
5021 | 5021 | | |
5022 | 5022 | | |
5023 | | - | |
| 5023 | + | |
| 5024 | + | |
| 5025 | + | |
5024 | 5026 | | |
5025 | 5027 | | |
5026 | 5028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1278 | 1278 | | |
1279 | 1279 | | |
1280 | 1280 | | |
1281 | | - | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1282 | 1284 | | |
1283 | 1285 | | |
1284 | 1286 | | |
| |||
8925 | 8927 | | |
8926 | 8928 | | |
8927 | 8929 | | |
8928 | | - | |
| 8930 | + | |
| 8931 | + | |
| 8932 | + | |
8929 | 8933 | | |
8930 | 8934 | | |
8931 | 8935 | | |
| |||
0 commit comments