summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BasicTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-10 02:45:14 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-10 02:45:14 +0000
commit436906ab3cbe991826a8967f2c3c14850d267cbf (patch)
treeabbb50957f8a22f9cd77651503dfb12bc0256cbd /lib/CodeGen/BasicTargetTransformInfo.cpp
parent804ff192731d217fc82d4e63070dda060de02ebe (diff)
downloadllvm-436906ab3cbe991826a8967f2c3c14850d267cbf.tar.gz
llvm-436906ab3cbe991826a8967f2c3c14850d267cbf.tar.bz2
llvm-436906ab3cbe991826a8967f2c3c14850d267cbf.tar.xz
[TTI] There is actually no realistic way to pop TTI implementations off
the stack of the analysis group because they are all immutable passes. This is made clear by Craig's recent work to use override systematically -- we weren't overriding anything for 'finalizePass' because there is no such thing. This is kind of a lame restriction on the API -- we can no longer push and pop things, we just set up the stack and run. However, I'm not invested in building some better solution on top of the existing (terrifying) immutable pass and legacy pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BasicTargetTransformInfo.cpp')
-rw-r--r--lib/CodeGen/BasicTargetTransformInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/BasicTargetTransformInfo.cpp b/lib/CodeGen/BasicTargetTransformInfo.cpp
index 003f4c4c9e..02cc31b6d2 100644
--- a/lib/CodeGen/BasicTargetTransformInfo.cpp
+++ b/lib/CodeGen/BasicTargetTransformInfo.cpp
@@ -47,10 +47,6 @@ public:
pushTTIStack(this);
}
- virtual void finalizePass() {
- popTTIStack();
- }
-
virtual void getAnalysisUsage(AnalysisUsage &AU) const override {
TargetTransformInfo::getAnalysisUsage(AU);
}