NimishMishra wrote: Thanks @tblah for testing this PR. Without this patch, I believe the assertion would be related to emitting an atomic read on non-integer types. I'll investigate on this and get back. https://github.com/llvm/llvm-project/pull/111377