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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 13:07:12 PDT 2025


https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/153867

None

>From 0efdda561e81a1d0a6c1ed7ecc17256c0e2aa55d Mon Sep 17 00:00:00 2001
From: Sergei Barannikov <barannikov88 at gmail.com>
Date: Fri, 15 Aug 2025 23:06:02 +0300
Subject: [PATCH] [PowerPC] Remove non-existent operand of CP_COPY instruction

---
 llvm/lib/Target/PowerPC/PPCInstr64Bit.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/PowerPC/PPCInstr64Bit.td b/llvm/lib/Target/PowerPC/PPCInstr64Bit.td
index fd2084398c857..d0d77c2e28320 100644
--- a/llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+++ b/llvm/lib/Target/PowerPC/PPCInstr64Bit.td
@@ -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;
 }



More information about the llvm-commits mailing list