Compile fix: Use "&&" operator instead of "and"
authorMichael Kruse <llvm@meinersbur.de>
Sun, 20 Dec 2015 14:42:32 +0000 (14:42 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Sun, 20 Dec 2015 14:42:32 +0000 (14:42 +0000)
llvm-svn: 256124

polly/lib/Analysis/ScopDetection.cpp

index b360419..31f8d10 100644 (file)
@@ -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);