[clang] [llvm] [IR] Memory effects for floating-point operations (PR #221754)

Serge Pavlov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 10:58:56 PDT 2026


================
@@ -119,24 +135,41 @@ template <typename LocationEnum> class MemoryEffectsBase {
       setModRef(Loc, MR);
   }
 
+  /// Create MemoryEffectsBase that can access any location with the given
+  /// ModRefInfo, excluding floating-point locations.
+  /// The boolean argument value is not used, it only allows to distinguish
+  /// between constructors.
+  MemoryEffectsBase(ModRefInfo MR, bool) {
----------------
spavloff wrote:

Fixed. The parameter name was choosen so that it does not look like a logical condition.

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


More information about the llvm-commits mailing list