[llvm] [IR][FunctionAttrs] Clarify memory effects of atomics (PR #193768)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 02:00:06 PDT 2026
================
@@ -31,3 +32,63 @@ entry:
%r = load atomic i32, ptr %x seq_cst, align 4
ret i32 %r
}
+
----------------
nikic wrote:
I've added some tests for load/store with different orderings.
I also enabled function signature checks and noticed that we were inferring readonly/writeonly argument attributes for ordered atomic accesses, so I fixed that as well.
https://github.com/llvm/llvm-project/pull/193768
More information about the llvm-commits
mailing list