[polly] r243465 - Remove some dead code
Tobias Grosser
tobias at grosser.es
Tue Jul 28 12:16:47 PDT 2015
Author: grosser
Date: Tue Jul 28 14:16:46 2015
New Revision: 243465
URL: http://llvm.org/viewvc/llvm-project?rev=243465&view=rev
Log:
Remove some dead code
Modified:
polly/trunk/lib/Analysis/ScopDetection.cpp
Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=243465&r1=243464&r2=243465&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Tue Jul 28 14:16:46 2015
@@ -487,7 +487,6 @@ bool ScopDetection::hasAffineMemoryAcces
SE->collectParametricTerms(AF2, Terms);
if (auto *AF2 = dyn_cast<SCEVMulExpr>(Op)) {
SmallVector<const SCEV *, 0> Operands;
- bool TermsHasInRegionInst = false;
for (auto *MulOp : AF2->operands()) {
if (auto *Const = dyn_cast<SCEVConstant>(MulOp))
@@ -496,8 +495,6 @@ bool ScopDetection::hasAffineMemoryAcces
if (auto *Inst = dyn_cast<Instruction>(Unknown->getValue())) {
if (!Context.CurRegion.contains(Inst))
Operands.push_back(MulOp);
- else
- TermsHasInRegionInst = true;
} else {
Operands.push_back(MulOp);
More information about the llvm-commits
mailing list