@@ -823,12 +823,12 @@ struct RISCVOperand final : public MCParsedAsmOperand {
823823 bool isSImm5NonZero () const {
824824 if (!isImm ())
825825 return false ;
826- RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None ;
826+ RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None ;
827827 int64_t Imm;
828828 bool IsConstantImm = evaluateConstantImm (getImm (), Imm, VK);
829829 return IsConstantImm && Imm != 0 &&
830830 isInt<5 >(fixImmediateForRV32 (Imm, isRV64Imm ())) &&
831- VK == RISCVMCExpr::VK_RISCV_None ;
831+ VK == RISCVMCExpr::VK_None ;
832832 }
833833
834834 bool isSImm6 () const {
@@ -1021,22 +1021,22 @@ struct RISCVOperand final : public MCParsedAsmOperand {
10211021 bool isSImm16NonZero () const {
10221022 if (!isImm ())
10231023 return false ;
1024- RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None ;
1024+ RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None ;
10251025 int64_t Imm;
10261026 bool IsConstantImm = evaluateConstantImm (getImm (), Imm, VK);
10271027 return IsConstantImm && Imm != 0 &&
10281028 isInt<16 >(fixImmediateForRV32 (Imm, isRV64Imm ())) &&
1029- VK == RISCVMCExpr::VK_RISCV_None ;
1029+ VK == RISCVMCExpr::VK_None ;
10301030 }
10311031
10321032 bool isUImm16NonZero () const {
10331033 if (!isImm ())
10341034 return false ;
10351035 int64_t Imm;
1036- RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None ;
1036+ RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None ;
10371037 bool IsConstantImm = evaluateConstantImm (getImm (), Imm, VK);
10381038 return IsConstantImm && isUInt<16 >(Imm) && (Imm != 0 ) &&
1039- VK == RISCVMCExpr::VK_RISCV_None ;
1039+ VK == RISCVMCExpr::VK_None ;
10401040 }
10411041
10421042 bool isUImm20LUI () const {
0 commit comments