allow sinking to be enabled for the jit

llvm-svn: 45624
This commit is contained in:
Chris Lattner 2008-01-05 06:14:16 +00:00
parent e0f0c4aa02
commit 276178e49f
1 changed files with 3 additions and 0 deletions

View File

@ -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());