mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Live-in copies go *after* EH_LABELs.
This will soon be tested by exception handling working at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185615 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -351,7 +351,7 @@ MachineBasicBlock::addLiveIn(unsigned PhysReg, const TargetRegisterClass *RC) {
|
|||||||
"Only the entry block and landing pads can have physreg live ins");
|
"Only the entry block and landing pads can have physreg live ins");
|
||||||
|
|
||||||
bool LiveIn = isLiveIn(PhysReg);
|
bool LiveIn = isLiveIn(PhysReg);
|
||||||
iterator I = getFirstNonPHI(), E = end();
|
iterator I = SkipPHIsAndLabels(begin()), E = end();
|
||||||
MachineRegisterInfo &MRI = getParent()->getRegInfo();
|
MachineRegisterInfo &MRI = getParent()->getRegInfo();
|
||||||
const TargetInstrInfo &TII = *getParent()->getTarget().getInstrInfo();
|
const TargetInstrInfo &TII = *getParent()->getTarget().getInstrInfo();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user