PC-relative pseudo instructions are lowered and printed directly. Any encounter
with one in the generic printing code is an error. llvm-svn: 114242
This commit is contained in:
parent
49c15c0f9f
commit
8a5a6a6c1e
|
@ -387,7 +387,7 @@ void ARMInstPrinter::printAddrModePCOperand(const MCInst *MI, unsigned OpNum,
|
|||
// All instructions using addrmodepc are pseudos and should have been
|
||||
// handled explicitly in printInstructionThroughMCStreamer(). If one got
|
||||
// here, it wasn't, so something's wrong.
|
||||
assert(0 && "Unhandled addrmodepc operand!");
|
||||
llvm_unreachable("Unhandled PC-relative pseudo-instruction!");
|
||||
}
|
||||
|
||||
void ARMInstPrinter::printBitfieldInvMaskImmOperand(const MCInst *MI,
|
||||
|
@ -522,8 +522,7 @@ void ARMInstPrinter::printNoHashImmediate(const MCInst *MI, unsigned OpNum,
|
|||
|
||||
void ARMInstPrinter::printPCLabel(const MCInst *MI, unsigned OpNum,
|
||||
raw_ostream &O) {
|
||||
// FIXME: remove this.
|
||||
abort();
|
||||
llvm_unreachable("Unhandled PC-relative pseudo-instruction!");
|
||||
}
|
||||
|
||||
void ARMInstPrinter::printThumbS4ImmOperand(const MCInst *MI, unsigned OpNum,
|
||||
|
|
Loading…
Reference in New Issue