[PATCH] D125739: [LegalizeTypes][VP] Add promotions for VP_TRUNCATE
WangLian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 20:05:49 PDT 2022
Jimerlife created this revision.
Jimerlife added reviewers: craig.topper, frasercrmck, simoll, benshi001.
Jimerlife added a project: LLVM.
Herald added subscribers: luke957, StephenFan, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
Jimerlife requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, jacquesguan, MaskRay.
Add promoteRes and promoteOp for VP_TRUNCATE.
I couldn't write tests about VP_TRUNCATE when TargetLowering::TypeWidenVector in RISCV, so I reserved a TODO.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125739
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vector-trunc-vp.ll
llvm/test/CodeGen/RISCV/rvv/vtrunc-vp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125739.429923.patch
Type: text/x-patch
Size: 10304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220517/0ba2cf3e/attachment.bin>
More information about the llvm-commits
mailing list