[PATCH] D128919: [DAG] Teach isConstOrConstSplat about SPLAT_VECTORs

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 08:20:03 PDT 2022


dmgreen created this revision.
dmgreen added reviewers: RKSimon, craig.topper, paulwalker-arm, david-arm, eli.friedman.
Herald added subscribers: StephenFan, frasercrmck, 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.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added subscribers: pcwang-thead, MaskRay.
Herald added a project: LLVM.

This teaches the DemandedElts version of isConstOrConstSplat about SPLAT_VECTORS, in the same way as the non-DemandedElts version.


https://reviews.llvm.org/D128919

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/AArch64/sve-knownbits.ll
  llvm/test/CodeGen/RISCV/rvv/vnsra-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128919.441405.patch
Type: text/x-patch
Size: 4693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220630/38b613d0/attachment.bin>


More information about the llvm-commits mailing list