mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
MachineInstr::setOpcode -> MachineInstr::setInstrDescriptor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -53,7 +53,8 @@ bool AlphaBSel::runOnMachineFunction(MachineFunction &Fn) {
|
||||
// 0. bc opcode
|
||||
// 1. reg
|
||||
// 2. target MBB
|
||||
MBBI->setOpcode(MBBI->getOperand(0).getImm());
|
||||
const TargetInstrInfo *TII = Fn.getTarget().getInstrInfo();
|
||||
MBBI->setInstrDescriptor(TII->get(MBBI->getOperand(0).getImm()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user