forked from OSchip/llvm-project
Stack clash: update live-ins
This fixes http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-debian/builds/7150
This commit is contained in:
parent
5d6c5b463c
commit
356bf5ea5d
|
@ -705,7 +705,6 @@ void X86FrameLowering::emitStackProbeInlineGenericLoop(
|
|||
.setMIFlag(MachineInstr::FrameSetup);
|
||||
testMBB->addSuccessor(testMBB);
|
||||
testMBB->addSuccessor(tailMBB);
|
||||
testMBB->addLiveIn(FinalStackPtr);
|
||||
|
||||
// BB management
|
||||
tailMBB->splice(tailMBB->end(), &MBB, MBBI, MBB.end());
|
||||
|
@ -719,6 +718,10 @@ void X86FrameLowering::emitStackProbeInlineGenericLoop(
|
|||
.addReg(FinalStackPtr)
|
||||
.setMIFlag(MachineInstr::FrameSetup);
|
||||
}
|
||||
|
||||
// Update Live In information
|
||||
recomputeLiveIns(*testMBB);
|
||||
recomputeLiveIns(*tailMBB);
|
||||
}
|
||||
|
||||
void X86FrameLowering::emitStackProbeInlineWindowsCoreCLR64(
|
||||
|
|
Loading…
Reference in New Issue