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 | 276178e49fae2226b2e08762500d35a8466e50db (patch) | |
tree | 3a5b9e58182591b358a23410b9cae42e4962ea10 | |
parent | e0f0c4aa020654e451afcf42603c2bef66bc615b (diff) | |
download | bcm5719-llvm-276178e49fae2226b2e08762500d35a8466e50db.tar.gz bcm5719-llvm-276178e49fae2226b2e08762500d35a8466e50db.zip |
allow sinking to be enabled for the jit
llvm-svn: 45624
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 15c1d67f3fc..d4533351447 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/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()); |