[PATCH] D31960: [InstSimplify] fold identity shuffles (recursing if needed)
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 13:02:45 PDT 2017
spatel updated this revision to Diff 95020.
spatel marked 3 inline comments as done.
spatel added a comment.
Patch updated:
1. Make name more descriptive: "foldIdentityShuffles".
2. Add comment about the per-element limit for recursion.
3. Add TODO about bitcasts.
4. Add test case with an undef mask element - not sure what's best in this case. See earlier example.
https://reviews.llvm.org/D31960
Files:
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstSimplify/shufflevector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31960.95020.patch
Type: text/x-patch
Size: 9913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170412/0e779652/attachment.bin>
More information about the llvm-commits
mailing list