summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitaee3ca6cfd4ff414786069776f747d5d6b6bc4a6 (patch)
treebd298b659db2115a36bb2152205d676192593f39 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
parent8346167fabeebc1888bce4bea1a3c3cbd981c5ef (diff)
downloadbcm5719-llvm-aee3ca6cfd4ff414786069776f747d5d6b6bc4a6.tar.gz
bcm5719-llvm-aee3ca6cfd4ff414786069776f747d5d6b6bc4a6.zip
[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. llvm-svn: 203437
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/BasicTargetTransformInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
index 003f4c4c9e8..02cc31b6d2b 100644
--- a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud