summaryrefslogtreecommitdiff
path: root/tools/gccld
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2006-09-24 00:08:16 +0000
committerNick Lewycky <nicholas@mxc.ca>2006-09-24 00:08:16 +0000
commitb156afb79106ad53c61408d5037feb7d8128359a (patch)
treea6d45aaef4860d736ddefa64d9571b42adde8ccb /tools/gccld
parent8f389d8cd4c0e3d1eeb2cf93d1cbfe0948c363a4 (diff)
downloadllvm-b156afb79106ad53c61408d5037feb7d8128359a.tar.gz
llvm-b156afb79106ad53c61408d5037feb7d8128359a.tar.bz2
llvm-b156afb79106ad53c61408d5037feb7d8128359a.tar.xz
Enable 'predsimplify' optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld')
-rw-r--r--tools/gccld/GenerateCode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gccld/GenerateCode.cpp b/tools/gccld/GenerateCode.cpp
index 38b3d41845..2e81d38aac 100644
--- a/tools/gccld/GenerateCode.cpp
+++ b/tools/gccld/GenerateCode.cpp
@@ -248,6 +248,7 @@ 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