[PATCH] D115133: [RISCV] Support immediate vtype of VSETVLI/VSETIVLI in asm parser

LiqinWeng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 9 22:46:49 PST 2021


Miss_Grape updated this revision to Diff 393377.
Miss_Grape added a comment.

Support non-canonical syntax:

1. vsetivli rd, uimm, 0xabc or vsetvli rd, rs1, 0xabc
2. vsetivli rd, uimm, (0xc << N) or vsetvli rd, rs1, (0xc << N)


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

https://reviews.llvm.org/D115133

Files:
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoV.td
  llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
  llvm/test/MC/RISCV/rvv/invalid.s
  llvm/test/MC/RISCV/rvv/vsetvl.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115133.393377.patch
Type: text/x-patch
Size: 9880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211210/a94e8d7b/attachment.bin>


More information about the llvm-commits mailing list