diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-15 04:56:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-15 04:56:44 +0000 |
commit | cf82b00eb5bc26e1116244c2ee453eb404f2ecd2 (patch) | |
tree | 749c5e78483cf7aac6d4bdf64fa18e9e19585420 /llvm/tools/gccas | |
parent | 6f99eb56c337b7c522cb31de30765f1c37acf0bc (diff) | |
download | bcm5719-llvm-cf82b00eb5bc26e1116244c2ee453eb404f2ecd2.tar.gz bcm5719-llvm-cf82b00eb5bc26e1116244c2ee453eb404f2ecd2.zip |
Enable the setjmp/longjmp lowering pass
llvm-svn: 8521
Diffstat (limited to 'llvm/tools/gccas')
-rw-r--r-- | llvm/tools/gccas/gccas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp index 8a42dc94d47..27ae11c6c43 100644 --- a/llvm/tools/gccas/gccas.cpp +++ b/llvm/tools/gccas/gccas.cpp @@ -45,6 +45,7 @@ static inline void addPass(PassManager &PM, Pass *P) { void AddConfiguredTransformationPasses(PassManager &PM) { PM.add(createVerifierPass()); // Verify that input is correct + addPass(PM, createLowerSetJmpPass()); // Lower llvm.setjmp/.longjmp addPass(PM, createFunctionResolvingPass()); // Resolve (...) functions addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst addPass(PM, createGlobalDCEPass()); // Remove unused globals |