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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 12 23:21:37 PDT 2018


craig.topper updated this revision to Diff 165203.
craig.topper added a comment.

Fix the typo in the comment. I missed it earlier in my haste to board a plane.


Repository:
  rL LLVM

https://reviews.llvm.org/D51964

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

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


More information about the llvm-commits mailing list