[PATCH] D130782: [DAGCombiner] Extend visitAND to include EXTRACT_SUBVECTOR
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 08:58:15 PDT 2022
david-arm created this revision.
david-arm added reviewers: c-rhodes, DavidTruby, dtemirbulatov, paulwalker-arm.
Herald added subscribers: ecnelises, hiraditya.
Herald added a project: All.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Eliminate an AND by redefining an anyext|sext|zext.
(and (extract_subvector (anyext|sext|zext v) _) iN_mask)
=> (extract_subvector (zeroext_iN v))
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130782
Files:
llvm/include/llvm/CodeGen/ISDOpcodes.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/extract-subvec-combine.ll
llvm/test/CodeGen/AArch64/vector-fcvt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130782.448646.patch
Type: text/x-patch
Size: 5807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220729/2bae923d/attachment.bin>
More information about the llvm-commits
mailing list