[PATCH] Add an instcombine rule to optimize max(~a, ~b) to ~min(a, b) when profitable

Sanjoy Das sanjoy at playingwithpointers.com
Mon Feb 23 00:16:47 PST 2015


Address review comments.


http://reviews.llvm.org/D7821

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  lib/Transforms/InstCombine/InstCombineInternal.h
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  test/Transforms/InstCombine/max-of-nots.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7821.20492.patch
Type: text/x-patch
Size: 7712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150223/470f7785/attachment.bin>


More information about the llvm-commits mailing list