[llvm] [RISCV][GlobalISel] Legalize G_ATOMICRMW_AND/OR/XOR (PR #205540)

Kane Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 23:22:00 PDT 2026


================
@@ -0,0 +1,659 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
----------------
ReVe1uv wrote:

> Why only testing monotonic?

Hi topperc, thanks for catching that. I've expanded `atomicrmw-and-or-xor.ll `to cover all memory orderings (`monotonic, acquire, release, acq_rel, seq_cst`) across all widths (`i8, i16, i32, i64`) for `and/or/xor`.

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


More information about the llvm-commits mailing list