[PATCH] D26556: [InstCombine] don't widen most selects by hoisting an extend

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 26 08:37:22 PST 2016


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

Ping.

Patch updated:

1. Rebase after https://reviews.llvm.org/rL287980 (no need to add FIXME comment now).
2. Propagate metadata with SelectInst::Create()  ( https://reviews.llvm.org/rL287976 ).
3. Update trunc_sel_equal_zext / trunc_sel_equal_zext_vec tests to show that metadata is not dropped.


https://reviews.llvm.org/D26556

Files:
  lib/Transforms/InstCombine/InstCombineCasts.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/select-bitext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26556.79334.patch
Type: text/x-patch
Size: 19733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161126/ee86cee0/attachment.bin>


More information about the llvm-commits mailing list