mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
s/ARM::BRIND/ARM::BX/g to coincide with r120366.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
13815d9d3e
commit
6e46d84eea
@ -1260,7 +1260,7 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
}
|
||||
{
|
||||
MCInst TmpInst;
|
||||
TmpInst.setOpcode(ARM::BRIND);
|
||||
TmpInst.setOpcode(ARM::BX);
|
||||
TmpInst.addOperand(MCOperand::CreateReg(ScratchReg));
|
||||
// Predicate.
|
||||
TmpInst.addOperand(MCOperand::CreateImm(ARMCC::AL));
|
||||
|
@ -434,7 +434,7 @@ bool isJumpTableBranchOpcode(int Opc) {
|
||||
|
||||
static inline
|
||||
bool isIndirectBranchOpcode(int Opc) {
|
||||
return Opc == ARM::BRIND || Opc == ARM::MOVPCRX || Opc == ARM::tBRIND;
|
||||
return Opc == ARM::BX || Opc == ARM::MOVPCRX || Opc == ARM::tBRIND;
|
||||
}
|
||||
|
||||
/// getInstrPredicate - If instruction is predicated, returns its predicate
|
||||
|
@ -790,7 +790,7 @@ static bool DisassembleBrFrm(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
|
||||
// Misc. Branch Instructions.
|
||||
// BLXr9, BXr9
|
||||
// BRIND, BX_RET
|
||||
// BX, BX_RET
|
||||
static bool DisassembleBrMiscFrm(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
unsigned short NumOps, unsigned &NumOpsAdded, BO B) {
|
||||
|
||||
@ -805,8 +805,8 @@ static bool DisassembleBrMiscFrm(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
if (Opcode == ARM::BX_RET)
|
||||
return true;
|
||||
|
||||
// BLXr9 and BRIND take one GPR reg.
|
||||
if (Opcode == ARM::BLXr9 || Opcode == ARM::BRIND) {
|
||||
// BLXr9 and BX take one GPR reg.
|
||||
if (Opcode == ARM::BLXr9 || Opcode == ARM::BX) {
|
||||
assert(NumOps >= 1 && OpInfo[OpIdx].RegClass == ARM::GPRRegClassID &&
|
||||
"Reg operand expected");
|
||||
MI.addOperand(MCOperand::CreateReg(getRegisterEnum(B, ARM::GPRRegClassID,
|
||||
|
Loading…
x
Reference in New Issue
Block a user