diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-01-13 08:45:40 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-01-13 08:45:40 +0000 |
commit | b5499d09d168735bab44b3d734b5749b41b16462 (patch) | |
tree | 31e7422a2f6c986081812c3f13ae34d82ace41ff /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | af4e28d897b537c4d8995d361c2420c335d2b71c (diff) | |
download | bcm5719-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.cpp | 1 |
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) |