[PATCH] D104156: [DAGCombine][X86][ARM] EXTRACT_SUBVECTOR(VECTOR_SHUFFLE(?,?,Mask)) -> VECTOR_SHUFFLE(EXTRACT_SUBVECTOR(?, ?), EXTRACT_SUBVECTOR(?, ?), Mask')
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 25 12:39:36 PDT 2021
lebedev.ri updated this revision to Diff 361526.
lebedev.ri added a comment.
Rebased
In D104156#2902910 <https://reviews.llvm.org/D104156#2902910>, @RKSimon wrote:
> I still think getting to the bottom of why we don't already fold the splatted rotation/funnel shift amount would be more useful.
rGb95f66ad786b8f2814d4ef4373e8ac3902e6f62a <https://reviews.llvm.org/rGb95f66ad786b8f2814d4ef4373e8ac3902e6f62a> is cheating :)
I was sure the question was *not* about fixing the emitted code,
but fixing the already-emitted code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104156/new/
https://reviews.llvm.org/D104156
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/ARM/crash-on-pow2-shufflevector.ll
llvm/test/CodeGen/ARM/vext.ll
llvm/test/CodeGen/X86/vector-fshl-rot-256.ll
llvm/test/CodeGen/X86/vector-fshr-rot-256.ll
llvm/test/CodeGen/X86/vector-rotate-256.ll
llvm/test/CodeGen/X86/vector-shift-ashr-256.ll
llvm/test/CodeGen/X86/vector-shift-shl-256.ll
llvm/test/CodeGen/X86/vector-trunc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104156.361526.patch
Type: text/x-patch
Size: 23747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210725/1ae56152/attachment.bin>
More information about the llvm-commits
mailing list