[llvm-commits] [polly] r170735 - in /polly/branches/release_32: include/polly/ScopInfo.h lib/Analysis/ScopInfo.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Thu Dec 20 12:18:09 PST 2012
Author: grosser
Date: Thu Dec 20 14:18:09 2012
New Revision: 170735
URL: http://llvm.org/viewvc/llvm-project?rev=170735&view=rev
Log:
remove dead code
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168621
Modified:
polly/branches/release_32/include/polly/ScopInfo.h
polly/branches/release_32/lib/Analysis/ScopInfo.cpp
Modified: polly/branches/release_32/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/include/polly/ScopInfo.h?rev=170735&r1=170734&r2=170735&view=diff
==============================================================================
--- polly/branches/release_32/include/polly/ScopInfo.h (original)
+++ polly/branches/release_32/include/polly/ScopInfo.h Thu Dec 20 14:18:09 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/branches/release_32/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/lib/Analysis/ScopInfo.cpp?rev=170735&r1=170734&r2=170735&view=diff
==============================================================================
--- polly/branches/release_32/lib/Analysis/ScopInfo.cpp (original)
+++ polly/branches/release_32/lib/Analysis/ScopInfo.cpp Thu Dec 20 14:18:09 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