[polly] r248026 - Remove unused variable Dimension [NFC]

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 13:03:32 PDT 2015


Author: meinersbur
Date: Fri Sep 18 15:03:32 2015
New Revision: 248026

URL: http://llvm.org/viewvc/llvm-project?rev=248026&view=rev
Log:
Remove unused variable Dimension [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=248026&r1=248025&r2=248026&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Fri Sep 18 15:03:32 2015
@@ -974,7 +974,6 @@ void ScopStmt::buildDomain() {
 }
 
 void ScopStmt::deriveAssumptionsFromGEP(GetElementPtrInst *GEP) {
-  int Dimension = 0;
   isl_ctx *Ctx = Parent.getIslCtx();
   isl_local_space *LSpace = isl_local_space_from_space(getDomainSpace());
   Type *Ty = GEP->getPointerOperandType();
@@ -986,7 +985,6 @@ void ScopStmt::deriveAssumptionsFromGEP(
   std::tie(Subscripts, Sizes) = getIndexExpressionsFromGEP(GEP, SE);
 
   if (auto *PtrTy = dyn_cast<PointerType>(Ty)) {
-    Dimension = 1;
     Ty = PtrTy->getElementType();
   }
 




More information about the llvm-commits mailing list