Skip to content

Commit 6d18f79

Browse files
rootcursoragent
andcommitted
[RISCV] Add missing OPERAND_SIMM8_UNSIGNED to RISCVOp enum
Fixes RISCVInstrInfo.cpp build after verifyInstruction gained a case for OPERAND_SIMM8_UNSIGNED without the matching enum entry. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3ef0092 commit 6d18f79

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ enum OperandType : unsigned {
7777
OPERAND_SIMM6_NONZERO,
7878
OPERAND_SIMM8,
7979
OPERAND_SIMM8_NONZERO,
80+
OPERAND_SIMM8_UNSIGNED,
8081
OPERAND_SIMM10,
8182
OPERAND_SIMM10_LSB0000_NONZERO,
8283
OPERAND_SIMM10_UNSIGNED,

0 commit comments

Comments
 (0)