summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-10 07:15:17 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-10 07:15:17 +0000
commitdb82d2f33827dc44dc0076ad26a1a0f4638719c5 (patch)
tree426d1932604bec0dc540456540d91402c644e66a /llvm/lib/Analysis
parent0f70ee9017d080e5a068647a8e3717c483c4c51b (diff)
downloadbcm5719-llvm-db82d2f33827dc44dc0076ad26a1a0f4638719c5.tar.gz
bcm5719-llvm-db82d2f33827dc44dc0076ad26a1a0f4638719c5.zip
Revert the new EH instructions
This reverts commits r241888-r241891, I didn't mean to commit them. llvm-svn: 241893
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/IPA/InlineCost.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/Analysis/IPA/InlineCost.cpp b/llvm/lib/Analysis/IPA/InlineCost.cpp
index 213644c9b43..c0d2e375cb0 100644
--- a/llvm/lib/Analysis/IPA/InlineCost.cpp
+++ b/llvm/lib/Analysis/IPA/InlineCost.cpp
@@ -156,8 +156,6 @@ class CallAnalyzer : public InstVisitor<CallAnalyzer, bool> {
bool visitSwitchInst(SwitchInst &SI);
bool visitIndirectBrInst(IndirectBrInst &IBI);
bool visitResumeInst(ResumeInst &RI);
- bool visitCleanupReturnInst(CleanupReturnInst &RI);
- bool visitCatchReturnInst(CatchReturnInst &RI);
bool visitUnreachableInst(UnreachableInst &I);
public:
@@ -905,18 +903,6 @@ bool CallAnalyzer::visitResumeInst(ResumeInst &RI) {
return false;
}
-bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) {
- // FIXME: It's not clear that a single instruction is an accurate model for
- // the inline cost of a cleanupret instruction.
- return false;
-}
-
-bool CallAnalyzer::visitCatchReturnInst(CatchReturnInst &CRI) {
- // FIXME: It's not clear that a single instruction is an accurate model for
- // the inline cost of a cleanupret instruction.
- return false;
-}
-
bool CallAnalyzer::visitUnreachableInst(UnreachableInst &I) {
// FIXME: It might be reasonably to discount the cost of instructions leading
// to unreachable as they have the lowest possible impact on both runtime and
OpenPOWER on IntegriCloud