[llvm-commits] [llvm] r45624 - /llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
Chris Lattner
sabre at nondot.org
Fri Jan 4 22:14:16 PST 2008
Author: lattner
Date: Sat Jan 5 00:14:16 2008
New Revision: 45624
URL: http://llvm.org/viewvc/llvm-project?rev=45624&view=rev
Log:
allow sinking to be enabled for the jit
Modified:
llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
Modified: llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp?rev=45624&r1=45623&r2=45624&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp (original)
+++ llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp Sat Jan 5 00:14:16 2008
@@ -193,6 +193,9 @@
if (PerformLICM)
PM.add(createMachineLICMPass());
+
+ if (EnableSinking)
+ PM.add(createMachineSinkingPass());
// Perform register allocation to convert to a concrete x86 representation
PM.add(createRegisterAllocator());
More information about the llvm-commits
mailing list