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

Krzysztof Drewniak via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 10:56:51 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) {
----------------
krzysz00 wrote:

```suggestion
  MemoryEffectsBase(ModRefInfo MR, bool AccessesFpInfo) {
    (void)AccessesFpInfo;
```

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


More information about the llvm-commits mailing list