Skip to content

Commit 9bb860e

Browse files
authored
[PowerPC] Remove non-existent operand of CP_COPY instruction (#153867)
The operand is not encoded, decoded, or printed and would break MCInst verification if we had one. Extracted from #156358, where the extra operand causes DecoderEmitter to emit an error about an operand with a missing encoding.
1 parent cc220b1 commit 9bb860e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/PowerPC/PPCInstr64Bit.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ def : Pat<(int_ppc_darnraw), (DARN 2)>;
19841984

19851985
class X_RA5_RB5<bits<6> opcode, bits<10> xo, string opc, RegisterOperand ty,
19861986
InstrItinClass itin, list<dag> pattern>
1987-
: X_L1_RS5_RS5<opcode, xo, (outs), (ins ty:$RA, ty:$RB, u1imm:$L),
1987+
: X_L1_RS5_RS5<opcode, xo, (outs), (ins ty:$RA, ty:$RB),
19881988
!strconcat(opc, " $RA, $RB"), itin, pattern>{
19891989
let L = 1;
19901990
}

0 commit comments

Comments
 (0)