[llvm] [IR][AtomicExpand] Add elementwise modifier to atomicrmw; automatically expand for all targets (PR #189517)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 12:08:49 PDT 2026


================
@@ -920,7 +927,7 @@ class AtomicRMWInst : public Instruction {
 
 private:
   void Init(BinOp Operation, Value *Ptr, Value *Val, Align Align,
-            AtomicOrdering Ordering, SyncScope::ID SSID);
+            AtomicOrdering Ordering, SyncScope::ID SSID, bool Elementwise);
----------------
nikic wrote:

The final bit is actually unused. Setting it free in https://github.com/llvm/llvm-project/pull/190651.

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


More information about the llvm-commits mailing list