davemgreen wrote: Hmm. This doesn't seem to be a test for whether you can do an atomic load from constant memory, but just a test for atomic loads. I think we can remove the const and the test will make more sense. https://github.com/llvm/llvm-project/pull/117628