[polly] r248520 - Fix comparison signed/unsigned mismatch warning; NFC
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 10:32:49 PDT 2015
Author: meinersbur
Date: Thu Sep 24 12:32:49 2015
New Revision: 248520
URL: http://llvm.org/viewvc/llvm-project?rev=248520&view=rev
Log:
Fix comparison signed/unsigned mismatch warning; NFC
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=248520&r1=248519&r2=248520&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Thu Sep 24 12:32:49 2015
@@ -300,7 +300,7 @@ getIndexExpressionsFromGEP(GetElementPtr
bool DroppedFirstDim = false;
- for (long i = 1; i < GEP->getNumOperands(); i++) {
+ for (unsigned i = 1; i < GEP->getNumOperands(); i++) {
const SCEV *Expr = SE.getSCEV(GEP->getOperand(i));
More information about the llvm-commits
mailing list