[FPEnv][InstSimplify] Fix formatting error.

My most recent change for D131607 had a formatting error that I didn't
notice until after I committed it. Let me fix it now so changes to this
file will be back-to-back from me.
This commit is contained in:
Kevin P. Neal 2022-08-11 12:04:03 -04:00
parent fa68d93d54
commit de64d0076e
1 changed files with 4 additions and 4 deletions

View File

@ -5203,10 +5203,10 @@ simplifyFSubInst(Value *Op0, Value *Op1, FastMathFlags FMF,
// fsub 0.0, (fsub 0.0, X) ==> X if signed zeros are ignored.
// fsub 0.0, (fneg X) ==> X if signed zeros are ignored.
if (canIgnoreSNaN(ExBehavior, FMF))
if (FMF.noSignedZeros() && match(Op0, m_AnyZeroFP()) &&
(match(Op1, m_FSub(m_AnyZeroFP(), m_Value(X))) ||
match(Op1, m_FNeg(m_Value(X)))))
return X;
if (FMF.noSignedZeros() && match(Op0, m_AnyZeroFP()) &&
(match(Op1, m_FSub(m_AnyZeroFP(), m_Value(X))) ||
match(Op1, m_FNeg(m_Value(X)))))
return X;
if (!isDefaultFPEnvironment(ExBehavior, Rounding))
return nullptr;