mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Add definitions of two subclasses of MipsInstrInfo, MipsInstrInfo (for mips16),
and MipsSEInstrInfo (for mips32/64). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161081 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -207,7 +207,7 @@ int64_t MipsLongBranch::computeOffset(const MachineInstr *Br) {
|
||||
// MachineBasicBlock operand MBBOpnd.
|
||||
void MipsLongBranch::replaceBranch(MachineBasicBlock &MBB, Iter Br,
|
||||
DebugLoc DL, MachineBasicBlock *MBBOpnd) {
|
||||
unsigned NewOpc = Mips::GetOppositeBranchOpc(Br->getOpcode());
|
||||
unsigned NewOpc = TII->GetOppositeBranchOpc(Br->getOpcode());
|
||||
const MCInstrDesc &NewDesc = TII->get(NewOpc);
|
||||
|
||||
MachineInstrBuilder MIB = BuildMI(MBB, Br, DL, NewDesc);
|
||||
|
||||
Reference in New Issue
Block a user