[clang] [llvm] [RISCV] Support spacemit vsmtvdotii externsions (PR #202533)

Luke Lau via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 03:01:58 PDT 2026


================
@@ -1453,7 +1501,8 @@ unsigned RISCVAsmParser::validateTargetOperandClass(MCParsedAsmOperand &AsmOp,
 
   // As the parser couldn't differentiate an VRM2/VRM4/VRM8 from an VR, coerce
   // the register from VR to VRM2/VRM4/VRM8 if necessary.
-  if (IsRegVR && (Kind == MCK_VRM2 || Kind == MCK_VRM4 || Kind == MCK_VRM8)) {
+  if (IsRegVR && (Kind == MCK_VRM2 || Kind == MCK_VRM2NoV0 ||
+                  Kind == MCK_VRM4 || Kind == MCK_VRM8)) {
----------------
lukel97 wrote:

Same here

https://github.com/llvm/llvm-project/pull/202533


More information about the cfe-commits mailing list