mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Revert "Remove references to INSERT_SUBREG after de-SSA" r107725.
Buildbot breakage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107744 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -324,6 +324,12 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
|
||||
if (mi->isCopyLike() ||
|
||||
tii_->isMoveInstr(*mi, SrcReg, DstReg, SrcSubReg, DstSubReg)) {
|
||||
CopyMI = mi;
|
||||
|
||||
// Some of the REG_SEQUENCE lowering in TwoAddressInstrPass creates
|
||||
// implicit defs without really knowing. It shows up as INSERT_SUBREG
|
||||
// using an undefined register.
|
||||
if (mi->isInsertSubreg())
|
||||
mi->getOperand(1).setIsUndef();
|
||||
}
|
||||
|
||||
VNInfo *ValNo = interval.getNextValue(defIndex, CopyMI, true,
|
||||
|
||||
Reference in New Issue
Block a user