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:
75dc40c
)
Compile fix: Use "&&" operator instead of "and"
author
Michael Kruse
<llvm@meinersbur.de>
Sun, 20 Dec 2015 14:42:32 +0000
(14:42 +0000)
committer
Michael Kruse
<llvm@meinersbur.de>
Sun, 20 Dec 2015 14:42:32 +0000
(14:42 +0000)
llvm-svn: 256124
polly/lib/Analysis/ScopDetection.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/Analysis/ScopDetection.cpp
b/polly/lib/Analysis/ScopDetection.cpp
index
b360419
..
31f8d10
100644
(file)
--- a/
polly/lib/Analysis/ScopDetection.cpp
+++ b/
polly/lib/Analysis/ScopDetection.cpp
@@
-524,7
+524,7
@@
public:
const SCEV *visitUDivExpr(const SCEVUDivExpr *Expr) { return Expr; }
const SCEV *visitSMaxExpr(const SCEVSMaxExpr *Expr) {
- if ((Expr->getNumOperands() == 2)
and
Expr->getOperand(0)->isZero()) {
+ if ((Expr->getNumOperands() == 2)
&&
Expr->getOperand(0)->isZero()) {
auto Res = visit(Expr->getOperand(1));
if (Terms)
(*Terms).push_back(Res);