summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-01-13 08:45:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-01-13 08:45:40 +0000
commitb5499d09d168735bab44b3d734b5749b41b16462 (patch)
tree31e7422a2f6c986081812c3f13ae34d82ace41ff /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parentaf4e28d897b537c4d8995d361c2420c335d2b71c (diff)
downloadbcm5719-llvm-b5499d09d168735bab44b3d734b5749b41b16462.tar.gz
bcm5719-llvm-b5499d09d168735bab44b3d734b5749b41b16462.zip
Re-enable extension optimization pass.
llvm-svn: 93313
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index 4ab6a944341..733995f82be 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -325,6 +325,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
/* allowDoubleDefs= */ true);
if (OptLevel != CodeGenOpt::None) {
+ PM.add(createOptimizeExtsPass());
if (!DisableMachineLICM)
PM.add(createMachineLICMPass());
if (!DisableMachineSink)
OpenPOWER on IntegriCloud