[PATCH] D48830: [InstCombine] fold shuffle-with-binop and common value

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 16:12:06 PDT 2018


spatel updated this revision to Diff 153820.
spatel added a comment.

Patch updated:
No logic difference from the previous rev, just tried to improve the code structure/comments as suggested.
If there are no objections, I'll commit tomorrow.


https://reviews.llvm.org/D48830

Files:
  lib/IR/Constants.cpp
  lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  test/Transforms/InstCombine/shuffle_select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48830.153820.patch
Type: text/x-patch
Size: 5982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180702/4b6e1a4a/attachment.bin>


More information about the llvm-commits mailing list