[llvm] [IR] Memory locations for floating-point operations (PR #226826)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 04:08:19 PDT 2026


================
@@ -3554,7 +3554,7 @@ struct AANoSync
     SmallVector<Attribute, 2> Attrs;
     A.getAttrs(IRP, {Attribute::Memory}, Attrs, IgnoreSubsumingPositions);
 
-    MemoryEffects ME = MemoryEffects::unknown();
+    MemoryEffects ME = MemoryEffects::unknown_mem();
----------------
CarolineConcatto wrote:

I dont understand why we only set part of the location here. 
AFAIU this is only initializing  ME and then going through all the memory attributes and setting it. 

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


More information about the llvm-commits mailing list