Constrained FP intrinsic rules prohibit the mixing of constrained FP and non-constrained. When inlining functions this rule should not be violated.
This patch disables the "inline" and "alwaysinline" keywords when function attributes don't match.
Paths
| Differential D69616
[FPEnv] The inliner shouldn't mix strictfp and non-strictfp functions. AbandonedPublic Authored by kpn on Oct 30 2019, 6:28 AM.
Details Summary Constrained FP intrinsic rules prohibit the mixing of constrained FP and non-constrained. When inlining functions this rule should not be violated. This patch disables the "inline" and "alwaysinline" keywords when function attributes don't match.
Diff Detail Event Timeline
Comment Actions It looks like D69798 may be more complete patch. Let me take this off everyone's queue while that one is in flight.
Revision Contents
Diff 227147 llvm/lib/Analysis/InlineCost.cpp
llvm/test/Transforms/Inline/inline-strictfp.ll
|
Should this be a FIXME or TODO so it stands out?