mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Stop using this method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c31ecb9aae
commit
9d58a500fc
@ -65,7 +65,7 @@ struct SparcInstrInfo : public TargetInstrInfo {
|
||||
if (MI.getOpcode() == V9::SETHI && MI.getNumOperands() == 2) {
|
||||
const MachineOperand &op0 = MI.getOperand(0), &op1 = MI.getOperand(1);
|
||||
if (op0.isImmediate() && op0.getImmedValue() == 0 &&
|
||||
op1.isMachineRegister() &&
|
||||
op1.getType() == MachineOperand::MO_MachineRegister &&
|
||||
op1.getMachineRegNum() == SparcIntRegClass::g0)
|
||||
{
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user