[PATCH] D91712: [RISCV] Use register class VR for V instruction operands directly.

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 07:58:15 PST 2020


HsiangKai created this revision.
HsiangKai added reviewers: tangxingxin1008, craig.topper, jrtc27.
Herald added subscribers: frasercrmck, NickHung, evandro, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Herald added a project: LLVM.
HsiangKai requested review of this revision.
Herald added a subscriber: MaskRay.

@tangxingxin1008 found a bug that regard `vadd.vv v1, v3, a0` as a valid V instruction. We should remove the `VRegAsmOperand` operand class and use `VR` register class directly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91712

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoV.td
  llvm/test/MC/RISCV/rvv/invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91712.306068.patch
Type: text/x-patch
Size: 23846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201118/01230947/attachment.bin>


More information about the llvm-commits mailing list