[clang] [llvm] [RISCV] Add support for inline asm constraint vd (PR #111653)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 14:32:44 PDT 2024


================
@@ -102,7 +102,7 @@ bool RISCVTargetInfo::validateAsmConstraint(
     return true;
   case 'v':
     // A vector register.
-    if (Name[1] == 'r' || Name[1] == 'm') {
+    if (Name[1] == 'r' || Name[1] == 'd' || Name[1] == 'm') {
----------------
topperc wrote:

Nevermind. I guess I'm blind.

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


More information about the cfe-commits mailing list