Commit 0b82415
authored
[AMDGPU] Consider FLAT instructions for VMEM hazard detection (#137170)
In general, "Flat instructions look at the per-workitem address and
determine for each work item if the target memory address is in global,
private or scratch memory." (RDNA2 ISA) That means that FLAT
instructions need to be considered for VMEM hazards even without
"specific segment". Also, LDS DMA should be considered for LDS hazard
detection.
See also #1371481 parent 3cf1f0c commit 0b82415
File tree
2 files changed
+7
-8
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
2 files changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1502 | 1502 | | |
1503 | 1503 | | |
1504 | 1504 | | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
| 1505 | + | |
| 1506 | + | |
1508 | 1507 | | |
1509 | 1508 | | |
1510 | 1509 | | |
| |||
1526 | 1525 | | |
1527 | 1526 | | |
1528 | 1527 | | |
1529 | | - | |
| 1528 | + | |
1530 | 1529 | | |
1531 | | - | |
1532 | | - | |
| 1530 | + | |
1533 | 1531 | | |
1534 | 1532 | | |
1535 | 1533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | | - | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
0 commit comments