Skip to content

Commit ae60da4

Browse files
committed
uint64_t -> uint32_t for decodeSImmOperandAndLslN
Typo.
1 parent 0992062 commit ae60da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ static DecodeStatus decodeSImmNonZeroOperand(MCInst &Inst, uint32_t Imm,
448448
}
449449

450450
template <unsigned T, unsigned N>
451-
static DecodeStatus decodeSImmOperandAndLslN(MCInst &Inst, uint64_t Imm,
451+
static DecodeStatus decodeSImmOperandAndLslN(MCInst &Inst, uint32_t Imm,
452452
int64_t Address,
453453
const MCDisassembler *Decoder) {
454454
assert(isUInt<T - N + 1>(Imm) && "Invalid immediate");

0 commit comments

Comments
 (0)