[llvm] r347990 - Fix parenthesis warning in IVDescriptors
Renato Golin via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 05:54:36 PST 2018
Author: rengolin
Date: Fri Nov 30 05:54:36 2018
New Revision: 347990
URL: http://llvm.org/viewvc/llvm-project?rev=347990&view=rev
Log:
Fix parenthesis warning in IVDescriptors
Modified:
llvm/trunk/lib/Analysis/IVDescriptors.cpp
Modified: llvm/trunk/lib/Analysis/IVDescriptors.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IVDescriptors.cpp?rev=347990&r1=347989&r2=347990&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IVDescriptors.cpp (original)
+++ llvm/trunk/lib/Analysis/IVDescriptors.cpp Fri Nov 30 05:54:36 2018
@@ -536,9 +536,9 @@ RecurrenceDescriptor::isConditionalRdxPa
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()))
More information about the llvm-commits
mailing list