Fix parenthesis warning in IVDescriptors

llvm-svn: 347990
This commit is contained in:
Renato Golin 2018-11-30 13:54:36 +00:00
parent 135e72e1b9
commit de4b88e5ac
1 changed files with 3 additions and 3 deletions

View File

@ -536,9 +536,9 @@ RecurrenceDescriptor::isConditionalRdxPattern(
return InstDesc(false, I); return InstDesc(false, I);
Value *Op1, *Op2; Value *Op1, *Op2;
if (m_FAdd(m_Value(Op1), m_Value(Op2)).match(I1) || if ((m_FAdd(m_Value(Op1), m_Value(Op2)).match(I1) ||
m_FSub(m_Value(Op1), m_Value(Op2)).match(I1) && m_FSub(m_Value(Op1), m_Value(Op2)).match(I1)) &&
(I1->isFast())) I1->isFast())
return InstDesc(Kind == RK_FloatAdd, SI); return InstDesc(Kind == RK_FloatAdd, SI);
if (m_FMul(m_Value(Op1), m_Value(Op2)).match(I1) && (I1->isFast())) if (m_FMul(m_Value(Op1), m_Value(Op2)).match(I1) && (I1->isFast()))