[PATCH] D52070: [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 21 22:55:03 PDT 2018


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

Repository:
  rL LLVM

https://reviews.llvm.org/D52070

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/trunk/test/Transforms/InstCombine/max-of-nots.ll
  llvm/trunk/test/Transforms/InstCombine/pr38897.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: D52070.166597.patch
Type: text/x-patch
Size: 16782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180922/6fb6dd6c/attachment.bin>


More information about the llvm-commits mailing list