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()); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits