[llvm] [PowerPC] Remove non-existent operand of CP_COPY instruction (PR #153867)

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 4 07:10:20 PDT 2025


================
@@ -2000,7 +2000,7 @@ def : Pat<(int_ppc_darnraw), (DARN 2)>;
 
 class X_RA5_RB5<bits<6> opcode, bits<10> xo, string opc, RegisterOperand ty,
                    InstrItinClass itin, list<dag> pattern>
-  : X_L1_RS5_RS5<opcode, xo, (outs), (ins ty:$RA, ty:$RB, u1imm:$L),
+  : X_L1_RS5_RS5<opcode, xo, (outs), (ins ty:$RA, ty:$RB),
                  !strconcat(opc, " $RA, $RB"), itin, pattern>{
    let L = 1;
----------------
lei137 wrote:

You are right!  I was looking at an older ISA.


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


More information about the llvm-commits mailing list