[PATCH] D158853: [SDAG] Add SimplifyDemandedBits support for ISD::SPLAT_VECTOR_PARTS
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 25 08:31:02 PDT 2023
luke created this revision.
luke added reviewers: reames, craig.topper, RKSimon.
Herald added subscribers: asb, sunshaoce, pmatos, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
Herald added a project: All.
luke requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, MaskRay.
Herald added a project: LLVM.
Similar to https://reviews.llvm.org/D158839, this allows some shift and rotate
operations on RV32 to better select an immediate or scalar operand, due to the
upper bits of the splat being marked as undef.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158853
Files:
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/RISCV/rvv/vnsrl-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/vwsll-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/vwsll-vp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158853.553495.patch
Type: text/x-patch
Size: 14974 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230825/f795ed89/attachment.bin>
More information about the llvm-commits
mailing list