[llvm] [LangRef] Fix language around strictfp semantics (PR #213879)
Ömer Sinan Ağacan via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 05:00:41 PDT 2026
================
@@ -2801,7 +2801,8 @@ fn -> other_fn -> other_fn ; fn is norecurse
mode or that might alter the state of floating-point status flags that
might otherwise be set or cleared by calling this function. LLVM will
not introduce any new floating-point instructions that may trap. All
- function definitions that contain strictfp calls must be marked strictfp.
+ function definitions that contain calls marked with the strictfp
+ attribute must be marked strictfp.
----------------
osa1 wrote:
I feel like we're confusing function and intrinsics here.
You can call `strictfp` functions from non-`strictfp` functions.
You can't call **constrained fp intrinsics** from non-`strictfp` functions.
If we just revert to the previous langref I think it was quite clear.
https://github.com/llvm/llvm-project/pull/213879
More information about the llvm-commits
mailing list