[PATCH] D114581: [RISCV] Fix a crash in decoding LMUL in VTYPE

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 29 19:16:52 PST 2021


craig.topper added a comment.

I've notified some of SiFive's binutils developers about the issues. Including that vlmul=0b100 causes objdump to print a regular vsetvli with `(null)` where the lmul string should go. They will be printing the immediate form.

So I think the LLVM disassembler should decode any immediate value. The RISCVInstPrinter should print the immediate form if any extra bits or reserved encodings are used. The assembly parser should be updated to accept the immediate form if it doesn't already.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114581/new/

https://reviews.llvm.org/D114581



More information about the llvm-commits mailing list