[PATCH] D94590: [RISCV] Add ISel patterns for scalable mask exts & truncs

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 04:38:15 PST 2021


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

Original patch by @rogfer01.

This patch adds support for sign-, zero-, and any-extension from
scalable mask vector types to integer vector types, as well as
truncation in the opposite direction.

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Fraser Cormack <fraser at codeplay.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94590

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
  llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/mask-exts-truncs-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94590.316366.patch
Type: text/x-patch
Size: 51838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210113/f1f30965/attachment.bin>


More information about the llvm-commits mailing list