[PATCH] D117433: [RISCV] Implement support for the Zicbop extension
Xinlong Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 16 23:21:15 PST 2022
VincentWu added a comment.
In D117433#3247003 <https://reviews.llvm.org/D117433#3247003>, @asb wrote:
> This introduces a bug when disassembling ori with =mattr=+zicbop enabled. I've not investigated further yet.
It looks like the problem is in the`getInstruction()` method of `llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp`.
try to define a new decoder namespace in `.td` file by `let DecoderNamespace=""` and handle it in `getInstruction()`.
it may solve the issue. I've done like this before
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117433/new/
https://reviews.llvm.org/D117433
More information about the llvm-commits
mailing list