[llvm] [PowerPC] Add a set of extended mnemonics that are missing from Power 10. (PR #73003)

Stefan Pintilie via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 18:58:19 PST 2023


================
@@ -820,6 +820,27 @@ void PPCAsmParser::ProcessInstruction(MCInst &Inst,
                                       const OperandVector &Operands) {
   int Opcode = Inst.getOpcode();
   switch (Opcode) {
+  case PPC::PLA8:
+  case PPC::PLA: {
+    MCInst TmpInst;
+    TmpInst.setOpcode(PPC::PADDI);
----------------
stefanp-ibm wrote:

Ooops. Good catch. 
I missed deleting that.

https://github.com/llvm/llvm-project/pull/73003


More information about the llvm-commits mailing list