[PATCH] D145939: [DAG] Fold multiple insert_vector_elt of zero values into an AND mask
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 07:24:11 PDT 2023
RKSimon created this revision.
RKSimon added reviewers: dmgreen, pengfei, goldstein.w.n.
Herald added subscribers: ctetreau, ecnelises, hiraditya, kristof.beyls.
Herald added a project: All.
RKSimon requested review of this revision.
Herald added a project: LLVM.
This also allows us to make use of the existing isVectorClearMaskLegal shuffle canonicalization
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145939
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/neon-dotreduce.ll
llvm/test/CodeGen/AArch64/vecreduce-add-legalization.ll
llvm/test/CodeGen/AArch64/vecreduce-umax-legalization.ll
llvm/test/CodeGen/X86/clear_upper_vector_element_bits.ll
llvm/test/CodeGen/X86/insertelement-zero.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145939.504646.patch
Type: text/x-patch
Size: 100256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/c8c03982/attachment.bin>
More information about the llvm-commits
mailing list