[llvm-commits] [polly] r168621 - in /polly/trunk: include/polly/ScopInfo.h lib/Analysis/ScopInfo.cpp
Sebastian Pop
spop at codeaurora.org
Mon Nov 26 14:07:30 PST 2012
Author: spop
Date: Mon Nov 26 16:07:30 2012
New Revision: 168621
URL: http://llvm.org/viewvc/llvm-project?rev=168621&view=rev
Log:
remove dead code
Modified:
polly/trunk/include/polly/ScopInfo.h
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=168621&r1=168620&r2=168621&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Mon Nov 26 16:07:30 2012
@@ -367,9 +367,6 @@
/// @return The loop at a certain dimension.
const Loop *getLoopForDimension(unsigned Dimension) const;
- /// @brief Return the SCEV for a loop dimension.
- const SCEVAddRecExpr *getSCEVForDimension(unsigned Dimension) const;
-
/// @brief Align the parameters in the statement to the scop context
void realignParams();
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=168621&r1=168620&r2=168621&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Mon Nov 26 16:07:30 2012
@@ -658,13 +658,6 @@
return IVS[Dimension].second;
}
-const SCEVAddRecExpr *ScopStmt::getSCEVForDimension(unsigned Dimension)
- const {
- PHINode *PN =
- const_cast<PHINode*>(getInductionVariableForDimension(Dimension));
- return cast<SCEVAddRecExpr>(getParent()->getSE()->getSCEV(PN));
-}
-
isl_ctx *ScopStmt::getIslCtx() const {
return Parent.getIslCtx();
}
More information about the llvm-commits
mailing list