forked from OSchip/llvm-project
parent
e0f0c4aa02
commit
276178e49f
|
@ -193,6 +193,9 @@ bool LLVMTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
|
||||||
|
|
||||||
if (PerformLICM)
|
if (PerformLICM)
|
||||||
PM.add(createMachineLICMPass());
|
PM.add(createMachineLICMPass());
|
||||||
|
|
||||||
|
if (EnableSinking)
|
||||||
|
PM.add(createMachineSinkingPass());
|
||||||
|
|
||||||
// Perform register allocation to convert to a concrete x86 representation
|
// Perform register allocation to convert to a concrete x86 representation
|
||||||
PM.add(createRegisterAllocator());
|
PM.add(createRegisterAllocator());
|
||||||
|
|
Loading…
Reference in New Issue