wristow marked 3 inline comments as done.
wristow added a comment.
Thanks for the quick feedback @hfinkel
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:2721
if (!MathErrno && AssociativeMath && ReciprocalMath && !SignedZeros &&
- !TrappingMath)
+ !TrappingMath
hfinkel added inline comments.
Herald added a subscriber: wuzish.
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:2721
if (!MathErrno && AssociativeMath && ReciprocalMath && !SignedZeros &&
- !TrappingMath)
+ !TrappingMath && !FPContractDisabled)
wristow created this revision.
wristow added reviewers: spatel, mcberg2017.
Herald added subscribers: jsji, hiraditya, nemanjai.
Herald added a project: LLVM.
Fused Multiply Add (FMA) was not always being disabled when the switch
`-ffp-contract=off` was used. More specifically, FMA is enabled