[PATCH] D51964: [InstCombine] Fold (xor (min/max X, Y), -1) -> (max/min ~X, ~Y) when X and Y are freely invertible.

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 13 11:54:24 PDT 2018


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

Changed prior to commit:
  https://reviews.llvm.org/D51964?vs=165203&id=165342#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D51964

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/trunk/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/trunk/test/Transforms/InstCombine/pr38915.ll
  llvm/trunk/test/Transforms/InstCombine/xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51964.165342.patch
Type: text/x-patch
Size: 8659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180913/55437bf3/attachment.bin>


More information about the llvm-commits mailing list