[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 05:41:42 PDT 2018


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

Patch updated:
No functional change from the previous rev, but use early exits to minimize indents and add TODO comments for the planned enhancements.


https://reviews.llvm.org/D48401

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

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


More information about the llvm-commits mailing list