diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-05 06:14:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-05 06:14:16 +0000 |
commit | 3c42f1211874665e8ea6eea55a45024b557afa61 (patch) | |
tree | d3e52c21e07328debc2ba180b27c3518ac885c57 /lib/CodeGen/LLVMTargetMachine.cpp | |
parent | f29495a22f3ce2c0cc74eadd5bf074e5fa6ca8bd (diff) |
allow sinking to be enabled for the jit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 15c1d67f3f..d453335144 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -193,6 +193,9 @@ bool LLVMTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM, if (PerformLICM) PM.add(createMachineLICMPass()); + + if (EnableSinking) + PM.add(createMachineSinkingPass()); // Perform register allocation to convert to a concrete x86 representation PM.add(createRegisterAllocator()); |