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 | 81d22d87de93f501f90f55b6bbc63f5dd286797a (patch) | |
tree | 32c6e3c7d98cc12e5361178514d9c84c15e4377e /lib/CodeGen/LLVMTargetMachine.cpp | |
parent | 09533a404c7a80c1ca619c627bfc636b243ecd16 (diff) |
Re-enable extension optimization pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 4ab6a94434..733995f82b 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/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) |