[PATCH] D80502: [NFC][PowerPC] Remove the redundant InstAlias for OR instruction
Zhang Kang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 21:00:43 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe3546c78cabf: [NFC][PowerPC] Remove the redundant InstAlias for OR instruction (authored by ZhangKang).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80502/new/
https://reviews.llvm.org/D80502
Files:
llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
Index: llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
===================================================================
--- llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
+++ llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
@@ -116,16 +116,6 @@
}
}
- 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();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80502.269412.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200609/630fcdc6/attachment.bin>
More information about the llvm-commits
mailing list