aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-03 22:18:20 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-03 22:18:20 +0000
commit2626dba9c5515d2e534c117bb16ceb03dd4d0930 (patch)
treebcb8a124d8e55520c15a83e34a9762d4f9b73fbb /tools/opt/opt.cpp
parent56cb3e3ccbc766086841d04fb8f136c7b4718dd5 (diff)
Remove the LowerSetJmp pass. It wasn't used effectively by any of the targets.
This is some of my original LLVM code. *wipes tear* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index fed98ce78d..ffd2c21736 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -431,8 +431,6 @@ static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM,
static void AddStandardCompilePasses(PassManagerBase &PM) {
PM.add(createVerifierPass()); // Verify that input is correct
- addPass(PM, createLowerSetJmpPass()); // Lower llvm.setjmp/.longjmp
-
// If the -strip-debug command line option was specified, do it.
if (StripDebug)
addPass(PM, createStripSymbolsPass(true));