This was left disabled for some reason, let's enable.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Added test. There're some failures in GlobalISel tests need to check if its connected.
test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir | ||
---|---|---|
194 ↗ | (On Diff #218125) | I'm not sure what do you mean, this is about address offset promotion, in this sence it is combined. |
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | ||
---|---|---|
1326 | this was done to save the original semantic for mayLoad checks, I'm not sure why it is used. |
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | ||
---|---|---|
1326 | Looks like this check is related to RMW atomics, which are supposed to be added later, but they are now skipped by the first check. If I remove mayLoad check then it would skip stores. |
nullptr or !TII->getNamedOperand()