projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135e72e
)
Fix parenthesis warning in IVDescriptors
author
Renato Golin
<renato.golin@linaro.org>
Fri, 30 Nov 2018 13:54:36 +0000
(13:54 +0000)
committer
Renato Golin
<renato.golin@linaro.org>
Fri, 30 Nov 2018 13:54:36 +0000
(13:54 +0000)
llvm-svn: 347990
llvm/lib/Analysis/IVDescriptors.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/IVDescriptors.cpp
b/llvm/lib/Analysis/IVDescriptors.cpp
index
f6f3de3
..
aaebc4a
100644
(file)
--- 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()))