summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2012-12-20 20:18:09 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2012-12-20 20:18:09 +0000
commit224d42ae5d20e41930fa32ba16de02daecc88f4f (patch)
tree19d4301446bbf2bcf8bbfb9d2844485821def2d4
parentb25d8018203ae7d18fce03c7a122d57b8dc0f28f (diff)
downloadllvm-224d42ae5d20e41930fa32ba16de02daecc88f4f.tar.gz
remove dead code
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168621 llvm-svn: 170735
-rwxr-xr-xpolly/include/polly/ScopInfo.h3
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp7
2 files changed, 0 insertions, 10 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h
index 298ec96c6281..a6cf99771b0b 100755
--- a/polly/include/polly/ScopInfo.h
+++ b/polly/include/polly/ScopInfo.h
@@ -367,9 +367,6 @@ public:
/// @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();
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 35d65e7f0d2b..9c9932695a7a 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -658,13 +658,6 @@ const Loop *ScopStmt::getLoopForDimension(unsigned Dimension) const {
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();
}