[PATCH] D107751: [IR] Let ConstantVector::getSplat use poison instead of undef
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 9 03:43:44 PDT 2021
david-arm created this revision.
david-arm added reviewers: sdesmalen, lebedev.ri, nikic, spatel, aqjune.
Herald added subscribers: dexonsmith, hiraditya.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch updates ConstantVector::getSplat to use poison instead
of undef when using insertelement/shufflevector to splat.
This follows on from D93793 <https://reviews.llvm.org/D93793>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D107751
Files:
llvm/lib/IR/Constants.cpp
llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt.ll
llvm/test/Transforms/InstCombine/div.ll
llvm/test/Transforms/InstCombine/fdiv.ll
llvm/test/Transforms/InstCombine/fmul.ll
llvm/test/Transforms/InstCombine/select.ll
llvm/test/Transforms/InstCombine/sub.ll
llvm/test/Transforms/InstCombine/zext-ctlz-trunc-to-ctlz-add.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale-inseltpoison.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
llvm/test/Transforms/InstSimplify/cmp-vec-fast-path.ll
llvm/test/Transforms/InstSimplify/gep.ll
llvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
llvm/test/Transforms/InstSimplify/vscale.ll
llvm/test/Transforms/LoopVectorize/AArch64/first-order-recurrence.ll
llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
llvm/test/Transforms/LoopVectorize/AArch64/sve-widen-phi.ll
llvm/test/Transforms/LoopVectorize/scalable-first-order-recurrence.ll
llvm/test/Transforms/LoopVectorize/scalable-inductions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107751.365142.patch
Type: text/x-patch
Size: 65781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210809/8045bb36/attachment-0001.bin>
More information about the llvm-commits
mailing list