forked from OSchip/llvm-project
[NFC][PowerPC] Remove the redundant InstAlias for OR instruction
Summary: We have handle the InstAlias for OR instructions, but we handle it agagin in PPCInstPrinter.cpp. This patch is to Remove the redundant InstAlias for OR instruction. Reviewed By: steven.zhang Differential Revision: https://reviews.llvm.org/D80502
This commit is contained in:
parent
5fda192fed
commit
e3546c78ca
|
@ -116,16 +116,6 @@ void PPCInstPrinter::printInst(const MCInst *MI, uint64_t Address,
|
|||
}
|
||||
}
|
||||
|
||||
if ((MI->getOpcode() == PPC::OR || MI->getOpcode() == PPC::OR8) &&
|
||||
MI->getOperand(1).getReg() == MI->getOperand(2).getReg()) {
|
||||
O << "\tmr ";
|
||||
printOperand(MI, 0, O);
|
||||
O << ", ";
|
||||
printOperand(MI, 1, O);
|
||||
printAnnotation(O, Annot);
|
||||
return;
|
||||
}
|
||||
|
||||
if (MI->getOpcode() == PPC::RLDICR ||
|
||||
MI->getOpcode() == PPC::RLDICR_32) {
|
||||
unsigned char SH = MI->getOperand(2).getImm();
|
||||
|
|
Loading…
Reference in New Issue