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:
Chris Lattner 2004-02-10 21:12:06 +00:00
parent c31ecb9aae
commit 9d58a500fc

View File

@ -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;