commit | 074e5ee642f72bfa5fa53aaebbfa286f76d93156 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Jan 13 08:45:40 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Jan 13 08:45:40 2010 +0000 |
tree | 32c6e3c7d98cc12e5361178514d9c84c15e4377e | |
parent | 52f39f00b758593f7c4c0b9f0f831b3e7fbd0d9e [diff] [blame] |
Re-enable extension optimization pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93313 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 4ab6a94..733995f 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp
@@ -325,6 +325,7 @@ /* allowDoubleDefs= */ true); if (OptLevel != CodeGenOpt::None) { + PM.add(createOptimizeExtsPass()); if (!DisableMachineLICM) PM.add(createMachineLICMPass()); if (!DisableMachineSink)