[PATCH] D96218: Correct parseVTypeI function 1. Make the assembler detect the out of range immediate in vsetivli instruction. 2. Make the added vsetvli instrction test cases report more concrete error message.
luxufan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 6 23:56:23 PST 2021
StephenFan created this revision.
StephenFan added reviewers: craig.topper, HsiangKai, frasercrmck.
Herald added subscribers: luismarques, apazos, sameer.abuasal, pzheng, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
StephenFan requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
Correct parseVTypeI function to do 2 things:
1. Make the assembler detect the out of range immediate in vsetivli instruction.
2. Make the added vsetvli instrction test cases report more concrete error message.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96218
Files:
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/test/MC/RISCV/rvv/invalid.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96218.321983.patch
Type: text/x-patch
Size: 6153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210207/bd0dd2c3/attachment.bin>
More information about the llvm-commits
mailing list