diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-22 19:07:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-22 19:07:47 +0000 |
commit | 3edb77c07e36c3ebcb4cd7e51079bce0067412d4 (patch) | |
tree | 45654280232d5d18075bc7ee6dda6aea70b81ac7 /tools | |
parent | f9c86cf5cf3f7af65bbcb2e40d44903380d642e9 (diff) | |
download | external_llvm-3edb77c07e36c3ebcb4cd7e51079bce0067412d4.zip external_llvm-3edb77c07e36c3ebcb4cd7e51079bce0067412d4.tar.gz external_llvm-3edb77c07e36c3ebcb4cd7e51079bce0067412d4.tar.bz2 |
Revert the previous patch since it causes lots of miscompilations. :( :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gccas/gccas.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 7d44d00..0ed58b9 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -58,13 +58,11 @@ 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, createGlobalDCEPass()); // Remove unused globals + addPass(PM, createCFGSimplificationPass()); // Clean up disgusting code addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst - addPass(PM, createPromoteMemoryToRegister()); // "Construct SSA form" + addPass(PM, createGlobalDCEPass()); // Remove unused globals addPass(PM, createIPConstantPropagationPass());// IP Constant Propagation addPass(PM, createDeadArgEliminationPass()); // Dead argument elimination - addPass(PM, createInstructionCombiningPass()); // Cleanup after IPCP & DAE - addPass(PM, createCFGSimplificationPass()); // Clean up disgusting code addPass(PM, createPruneEHPass()); // Remove dead EH info |