forked from OSchip/llvm-project
Fix parenthesis warning in IVDescriptors
llvm-svn: 347990
This commit is contained in:
parent
135e72e1b9
commit
de4b88e5ac
|
@ -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()))
|
||||||
|
|
Loading…
Reference in New Issue