forked from OSchip/llvm-project
parent
0b0cc4d75e
commit
ecd44922ab
|
@ -393,9 +393,9 @@ void PHIElimination::analyzePHINodes(const MachineFunction& MF) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PHIElimination::SplitPHIEdges(MachineFunction &MF,
|
bool PHIElimination::SplitPHIEdges(MachineFunction &MF,
|
||||||
MachineBasicBlock &MBB,
|
MachineBasicBlock &MBB,
|
||||||
LiveVariables &LV,
|
LiveVariables &LV,
|
||||||
MachineLoopInfo *MLI) {
|
MachineLoopInfo *MLI) {
|
||||||
if (MBB.empty() || !MBB.front().isPHI() || MBB.isLandingPad())
|
if (MBB.empty() || !MBB.front().isPHI() || MBB.isLandingPad())
|
||||||
return false; // Quick exit for basic blocks without PHIs.
|
return false; // Quick exit for basic blocks without PHIs.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue