[PATCH] D66804: [TargetLowering] Add buildLegalVectorShuffle facility to help build legal shuffles
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 07:50:34 PDT 2019
deadalnix created this revision.
deadalnix added reviewers: craig.topper, efriedma, RKSimon, lebedev.ri.
Herald added subscribers: llvm-commits, javed.absar.
Herald added a project: LLVM.
There are at least 2 ways to express the same shuffle. Various pieces of code explicit check for both option, but other places do not when they would benefit from doing it. This patches refactor the codebase to use buildLegalVectorShuffle in order to make that behavior more consistent.
Repository:
rL LLVM
https://reviews.llvm.org/D66804
Files:
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Target/ARM/ARMISelLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66804.217407.patch
Type: text/x-patch
Size: 10645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190827/d4e7e2cb/attachment.bin>
More information about the llvm-commits
mailing list