[PATCH] D150750: [Instsimplfy] X == Y ? 0 : X ^ Y --> X ^ Y

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 01:49:07 PDT 2023


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/test/Transforms/InstSimplify/select.ll:1529
+  ret <2 x i8> %5
+}
+
----------------
Add a negative test where the xor operands are not %0 and %1 (but e.g. %0 and some other argument).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150750/new/

https://reviews.llvm.org/D150750



More information about the llvm-commits mailing list