diff options
| author | Renato Golin <renato.golin@linaro.org> | 2018-11-30 13:54:36 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2018-11-30 13:54:36 +0000 |
| commit | de4b88e5ac6dc875e85286f83aae2e600d1eaabe (patch) | |
| tree | 8b1349297877fe7e0928f39c8b7454cc9b3a7777 | |
| parent | 135e72e1b9647f7740f9c619d45b3e4392a8acee (diff) | |
| download | bcm5719-llvm-de4b88e5ac6dc875e85286f83aae2e600d1eaabe.tar.gz bcm5719-llvm-de4b88e5ac6dc875e85286f83aae2e600d1eaabe.zip | |
Fix parenthesis warning in IVDescriptors
llvm-svn: 347990
| -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())) |

