[PATCH] D158824: [RISCV][MC] MC layer support for xcvmem and xcvelw extensions
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 7 23:17:05 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:2509
// Attempt to parse token as a register.
- if (parseRegister(Operands, true).isSuccess())
+ if (parseRegister(Operands, true).isSuccess()) {
+ // Parse memory base register if present (CORE-V only)
----------------
Is it possible to use a custom parser instead of adding a special case to the generic parser?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158824/new/
https://reviews.llvm.org/D158824
More information about the cfe-commits
mailing list