[PATCH] D52177: [InstCombine] Fold ~A - Min/Max(~A, O) -> Max/Min(A, ~O) - A

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 2 02:50:17 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL343569: [InstCombine] Fold ~A - Min/Max(~A, O) -> Max/Min(A, ~O) - A (authored by dmgreen, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D52177?vs=166946&id=167903#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52177

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/trunk/test/Transforms/InstCombine/sub-minmax.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52177.167903.patch
Type: text/x-patch
Size: 8239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181002/127b7f77/attachment.bin>


More information about the llvm-commits mailing list