[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 10:03:18 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:
This needs to be tested in clang/test/CodeGen/RISCV/riscv-inline-asm-rvv.c
https://github.com/llvm/llvm-project/pull/111653
More information about the cfe-commits
mailing list