From: Michael Kruse Date: Sun, 20 Dec 2015 14:42:32 +0000 (+0000) Subject: Compile fix: Use "&&" operator instead of "and" X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fc2896ee0bd274c9dc8922bef9db650f4067f4a;p=platform%2Fupstream%2Fllvm.git Compile fix: Use "&&" operator instead of "and" llvm-svn: 256124 --- diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index b360419..31f8d10 100644 --- 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);