Skip to content

Commit 99cb8c3

Browse files
committed
Remove unused RI_VZIP2B_VL ISD
1 parent 5da5c6c commit 99cb8c3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4913,8 +4913,8 @@ static SDValue lowerVIZIP(unsigned Opc, SDValue Op0, SDValue Op1,
49134913
const SDLoc &DL, SelectionDAG &DAG,
49144914
const RISCVSubtarget &Subtarget) {
49154915
assert(RISCVISD::RI_VZIPEVEN_VL == Opc || RISCVISD::RI_VZIPODD_VL == Opc ||
4916-
RISCVISD::RI_VZIP2A_VL == Opc || RISCVISD::RI_VZIP2B_VL == Opc ||
4917-
RISCVISD::RI_VUNZIP2A_VL == Opc || RISCVISD::RI_VUNZIP2B_VL == Opc);
4916+
RISCVISD::RI_VZIP2A_VL == Opc || RISCVISD::RI_VUNZIP2A_VL == Opc ||
4917+
RISCVISD::RI_VUNZIP2B_VL == Opc);
49184918
assert(Op0.getSimpleValueType() == Op1.getSimpleValueType());
49194919

49204920
MVT VT = Op0.getSimpleValueType();
@@ -6821,7 +6821,7 @@ static bool hasPassthruOp(unsigned Opcode) {
68216821
Opcode <= RISCVISD::LAST_STRICTFP_OPCODE &&
68226822
"not a RISC-V target specific op");
68236823
static_assert(
6824-
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 133 &&
6824+
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 132 &&
68256825
RISCVISD::LAST_STRICTFP_OPCODE - RISCVISD::FIRST_STRICTFP_OPCODE == 21 &&
68266826
"adding target specific op should update this function");
68276827
if (Opcode >= RISCVISD::ADD_VL && Opcode <= RISCVISD::VFMAX_VL)
@@ -6845,7 +6845,7 @@ static bool hasMaskOp(unsigned Opcode) {
68456845
Opcode <= RISCVISD::LAST_STRICTFP_OPCODE &&
68466846
"not a RISC-V target specific op");
68476847
static_assert(
6848-
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 133 &&
6848+
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 132 &&
68496849
RISCVISD::LAST_STRICTFP_OPCODE - RISCVISD::FIRST_STRICTFP_OPCODE == 21 &&
68506850
"adding target specific op should update this function");
68516851
if (Opcode >= RISCVISD::TRUNCATE_VECTOR_VL && Opcode <= RISCVISD::SETCC_VL)
@@ -21873,7 +21873,6 @@ const char *RISCVTargetLowering::getTargetNodeName(unsigned Opcode) const {
2187321873
NODE_NAME_CASE(RI_VZIPEVEN_VL)
2187421874
NODE_NAME_CASE(RI_VZIPODD_VL)
2187521875
NODE_NAME_CASE(RI_VZIP2A_VL)
21876-
NODE_NAME_CASE(RI_VZIP2B_VL)
2187721876
NODE_NAME_CASE(RI_VUNZIP2A_VL)
2187821877
NODE_NAME_CASE(RI_VUNZIP2B_VL)
2187921878
NODE_NAME_CASE(READ_CSR)

llvm/lib/Target/RISCV/RISCVISelLowering.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ enum NodeType : unsigned {
407407
RI_VZIPEVEN_VL,
408408
RI_VZIPODD_VL,
409409
RI_VZIP2A_VL,
410-
RI_VZIP2B_VL,
411410
RI_VUNZIP2A_VL,
412411
RI_VUNZIP2B_VL,
413412

0 commit comments

Comments
 (0)