diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2006-11-22 23:49:16 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2006-11-22 23:49:16 +0000 |
commit | 565706b93e3695da49aee8d2eb67006ffdb2591f (patch) | |
tree | 6e05f7627a149c9bdbb47e013a2f4b732d9ece8b /tools | |
parent | 6d0fbd4185ae24f342459b1ed4ab45062bff1a66 (diff) | |
download | external_llvm-565706b93e3695da49aee8d2eb67006ffdb2591f.zip external_llvm-565706b93e3695da49aee8d2eb67006ffdb2591f.tar.gz external_llvm-565706b93e3695da49aee8d2eb67006ffdb2591f.tar.bz2 |
Update to new predicate simplifier VRP design. Fixes PR966 and PR967.
Remove predicate simplifier from default gcc3 pipeline. New design is too
slow to enable by default.
Add new testcases for problems encountered in development.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gccas/gccas.cpp | 1 | ||||
-rw-r--r-- | tools/gccld/GenerateCode.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 8ac8ed4..c46b296 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -103,7 +103,6 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas addPass(PM, createInstructionCombiningPass()); // Combine silly seq's - addPass(PM, createPredicateSimplifierPass()); // Canonicalize registers addPass(PM, createCondPropagationPass()); // Propagate conditionals addPass(PM, createTailCallEliminationPass()); // Eliminate tail calls diff --git a/tools/gccld/GenerateCode.cpp b/tools/gccld/GenerateCode.cpp index 4053a89..e28f4c9 100644 --- a/tools/gccld/GenerateCode.cpp +++ b/tools/gccld/GenerateCode.cpp @@ -252,7 +252,6 @@ int llvm::GenerateBytecode(Module *M, int StripLevel, bool Internalize, // The IPO passes may leave cruft around. Clean up after them. addPass(Passes, createInstructionCombiningPass()); - addPass(Passes, createPredicateSimplifierPass()); addPass(Passes, createScalarReplAggregatesPass()); // Break up allocas |