[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:59:13 PDT 2026


================
@@ -1567,6 +1584,21 @@ let IntrProperties = [IntrInaccessibleMemOnly, IntrStrictFP] in {
                                                       [ llvm_any_scalar_float_ty,
                                                         llvm_metadata_ty,
                                                         llvm_metadata_ty ]>;
+}
+
+// Constrained functions that do not depend on the current rounding mode.
----------------
spavloff wrote:

You are right, FP control modes are not restricted to the rounding mode only. But the current constrained function design takes only rounding mode into considerations.

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


More information about the llvm-commits mailing list