diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Analysis/IVDescriptors.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/IVDescriptors.cpp b/llvm/lib/Analysis/IVDescriptors.cpp index f6f3de307e9..aaebc4a481e 100644 --- a/llvm/lib/Analysis/IVDescriptors.cpp +++ b/llvm/lib/Analysis/IVDescriptors.cpp @@ -536,9 +536,9 @@ RecurrenceDescriptor::isConditionalRdxPattern( return InstDesc(false, I); Value *Op1, *Op2; - if (m_FAdd(m_Value(Op1), m_Value(Op2)).match(I1) || - m_FSub(m_Value(Op1), m_Value(Op2)).match(I1) && - (I1->isFast())) + if ((m_FAdd(m_Value(Op1), m_Value(Op2)).match(I1) || + m_FSub(m_Value(Op1), m_Value(Op2)).match(I1)) && + I1->isFast()) return InstDesc(Kind == RK_FloatAdd, SI); if (m_FMul(m_Value(Op1), m_Value(Op2)).match(I1) && (I1->isFast())) |

