[PATCH] D157975: [RISCV] Add test for constant build_vector that could use vid. NFC
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 05:59:52 PDT 2023
luke created this revision.
luke added reviewers: craig.topper, reames, frasercrmck.
Herald added subscribers: jobnoorman, asb, pmatos, VincentWu, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, arichardson.
Herald added a project: All.
luke requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.
We currently don't lower this to a vid because the addend doesn't fit into a
vadd.vi immediate. An extra li here seems like a small cost to pay for a
constant pool load.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157975
Files:
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157975.550297.patch
Type: text/x-patch
Size: 4246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230815/ab176335/attachment.bin>
More information about the llvm-commits
mailing list