Commit 5dcffdf5 authored by Matt Arsenault's avatar Matt Arsenault
Browse files

Fix fp-model flag test failure on linux

We're still in the awkward state where IEEE is not the default
denormal mode.
parent 53fba65d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2771,7 +2771,8 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
      if (HonorINFs && HonorNaNs &&
        !AssociativeMath && !ReciprocalMath &&
        SignedZeros && TrappingMath && RoundingFPMath &&
        DenormalFPMath != llvm::DenormalMode::getIEEE() &&
        // FIXME: This should check for IEEE when it's the default.
        DenormalFPMath != llvm::DenormalMode::getInvalid() &&
        FPContract.equals("off"))
        // OK: Current Arg doesn't conflict with -ffp-model=strict
        ;