Skip to content

Commit 68e0588

Browse files
committed
[RISCV] Fix Variant Kind type for isUImm5Slist
This was done in 42a8813 but not in Xqcisync PR causing build failures.
1 parent 3840f78 commit 68e0588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ struct RISCVOperand final : public MCParsedAsmOperand {
775775
bool isUImm5Slist() const {
776776
if (!isImm())
777777
return false;
778-
RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None;
778+
RISCVMCExpr::Specifier VK = RISCVMCExpr::VK_None;
779779
int64_t Imm;
780780
bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
781781
return IsConstantImm &&

0 commit comments

Comments
 (0)