[PATCH] D48401: [InstCombine] fold vector select of binops with constant ops to 1 binop (PR37806)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 08:08:02 PDT 2018


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

Patch updated:
Committed the helper function change with https://reviews.llvm.org/rL335242, so this is only the shuffle fold now.


https://reviews.llvm.org/D48401

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48401.152307.patch
Type: text/x-patch
Size: 13298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/8712ccaa/attachment.bin>


More information about the llvm-commits mailing list