[llvm] [GlobalISel] Preserve volatile and atomic undef/poison stores (PR #200099)

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 16:57:58 PDT 2026


jlebar wrote:

> To finish the sentence, maybe you mean it should be legal to elide unordered atomics? I think you're right, which is another problem here.

@arsenm, Fixed this, and rewrote the AMDGPU backend stuff.  See the PR description for an explanation of why we're touching AMDGPU here.

I have no idea why tests are creating pointers in illegal address spaces and then trying to store them.  (Note we're not storing *to* the illegal addresses.  We're just storing the pointer values.)  If you prefer I could try to change the tests to use legal address spaces, then we probably wouldn't need to edit the AMDGPU backend at all.

https://github.com/llvm/llvm-project/pull/200099


More information about the llvm-commits mailing list