Skip to content

Commit 5f7213e

Browse files
committed
[RISCV] Fix a build error in 1ac489c
Running a merge and test cycle only works if you remember to actually commit the final result...
1 parent 1ac489c commit 5f7213e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6971,7 +6971,7 @@ static bool hasPassthruOp(unsigned Opcode) {
69716971
Opcode <= RISCVISD::LAST_STRICTFP_OPCODE &&
69726972
"not a RISC-V target specific op");
69736973
static_assert(
6974-
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 139 &&
6974+
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 137 &&
69756975
RISCVISD::LAST_STRICTFP_OPCODE - RISCVISD::FIRST_STRICTFP_OPCODE == 21 &&
69766976
"adding target specific op should update this function");
69776977
if (Opcode >= RISCVISD::ADD_VL && Opcode <= RISCVISD::VFMAX_VL)
@@ -6995,7 +6995,7 @@ static bool hasMaskOp(unsigned Opcode) {
69956995
Opcode <= RISCVISD::LAST_STRICTFP_OPCODE &&
69966996
"not a RISC-V target specific op");
69976997
static_assert(
6998-
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 139 &&
6998+
RISCVISD::LAST_VL_VECTOR_OP - RISCVISD::FIRST_VL_VECTOR_OP == 137 &&
69996999
RISCVISD::LAST_STRICTFP_OPCODE - RISCVISD::FIRST_STRICTFP_OPCODE == 21 &&
70007000
"adding target specific op should update this function");
70017001
if (Opcode >= RISCVISD::TRUNCATE_VECTOR_VL && Opcode <= RISCVISD::SETCC_VL)

0 commit comments

Comments
 (0)