[PATCH] D115226: [RISCV] Use vmv.s.x to lower VID sequences that only the first element is inconsistent.
Jianjian Guan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 7 01:18:12 PST 2021
jacquesguan created this revision.
jacquesguan added reviewers: frasercrmck, craig.topper, luismarques, asb.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
jacquesguan requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
Because we could use vmv.s.x to set the first element, we could lower a sequence to vid if only the first element is inconsistent.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115226
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115226.392309.patch
Type: text/x-patch
Size: 4560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211207/6ebb50b9/attachment.bin>
More information about the llvm-commits
mailing list