[PATCH] D76727: [VectorCombine] transform bitcasted shuffle to narrower elements
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 25 08:37:24 PDT 2020
spatel updated this revision to Diff 252582.
spatel marked an inline comment as done.
spatel added a comment.
Patch updated:
1. Fix bug in cost calc - types were inverted (the new shuffle is executed in the destination type).
2. Added code comment to explain the cost calc.
3. Added negative tests and test comments.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76727/new/
https://reviews.llvm.org/D76727
Files:
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
llvm/test/Transforms/VectorCombine/X86/shuffle.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76727.252582.patch
Type: text/x-patch
Size: 12095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200325/6da6fbd7/attachment.bin>
More information about the llvm-commits
mailing list