mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 21:38:19 +00:00
Match TargetInstrInfo changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32098 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -433,8 +433,7 @@ static bool isReDefinedByTwoAddr(MachineInstr *MI, unsigned Reg,
|
||||
for (unsigned j = i+1; j < e; ++j) {
|
||||
MachineOperand &MO2 = MI->getOperand(j);
|
||||
if (MO2.isRegister() && MO2.isUse() && MO2.getReg() == Reg &&
|
||||
TII->getOperandConstraint(MI->getOpcode(), j,
|
||||
TargetInstrInfo::TIED_TO) == (int)i)
|
||||
TII->getOperandConstraint(MI->getOpcode(),j,TOI::TIED_TO) == (int)i)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user