[PATCH] D45862: [InstCombine] Remove decanonicalizing transforms of selects

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 27 22:29:52 PDT 2018


mkazantsev updated this revision to Diff 144435.
mkazantsev added a comment.

Updated the patch to show the impact better. Test 15g possibly needs closer evaluation, however it seems to be the only case where the code has become worse. Might be a separate issue.


https://reviews.llvm.org/D45862

Files:
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  test/Transforms/InstCombine/rem.ll
  test/Transforms/InstCombine/select-icmp-and.ll
  test/Transforms/InstCombine/unrecognized_three-way-comparison.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45862.144435.patch
Type: text/x-patch
Size: 30821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180428/357d7ca1/attachment.bin>


More information about the llvm-commits mailing list