[llvm] [IR] Add elementwise modifier to atomic loads (PR #204556)

Harrison Hao via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 07:28:54 PDT 2026


================
@@ -182,6 +182,8 @@ struct LoadStoreInstProperties {
   Align Alignment;
   AtomicOrdering Ordering;
   SyncScope::ID SSID;
+  // TODO: Add IsElementwise here once StoreInst also supports the elementwise
+  // modifier.
----------------
harrisonGPU wrote:

Thanks, I've updated it. Initially I was worried that some existing callers don't pass the elementwise flag, which could cause build errors.

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


More information about the llvm-commits mailing list