[PATCH] D51398: [InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely invertible

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 09:23:11 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL341674: [InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely… (authored by ctopper, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D51398?vs=164236&id=164444#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D51398

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/trunk/test/Transforms/InstCombine/max-of-nots.ll
  llvm/trunk/test/Transforms/InstCombine/select.ll
  llvm/trunk/test/Transforms/InstCombine/select_meta.ll
  llvm/trunk/test/Transforms/InstCombine/sub.ll
  llvm/trunk/test/Transforms/InstCombine/xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51398.164444.patch
Type: text/x-patch
Size: 17565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180907/dd1b7da9/attachment.bin>


More information about the llvm-commits mailing list