Make sure copies are inserted after any exception handling labels at the top of
a basic block. llvm-svn: 117764
This commit is contained in:
parent
ef54185724
commit
0cfc497f19
|
@ -799,7 +799,7 @@ void SplitEditor::leaveIntvAtTop(MachineBasicBlock &MBB) {
|
|||
|
||||
// We are going to insert a back copy, so we must have a dupli_.
|
||||
VNInfo *VNI = dupli_.defByCopyFrom(openli_.getLI()->reg, ParentVNI,
|
||||
MBB, MBB.begin());
|
||||
MBB, MBB.SkipPHIsAndLabels(MBB.begin()));
|
||||
|
||||
// Finally we must make sure that openli is properly extended from Start to
|
||||
// the new copy.
|
||||
|
|
Loading…
Reference in New Issue