[PATCH] D28625: [InstCombine] try to shrink bitwise logic with phi operand

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 16:32:44 PST 2017


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

Patch updated:
Add more tests to show that this transform will work with any bitwise logic op and data types.


https://reviews.llvm.org/D28625

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  test/Transforms/InstCombine/narrow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28625.84777.patch
Type: text/x-patch
Size: 6894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170118/68e54850/attachment-0001.bin>


More information about the llvm-commits mailing list