[PATCH] D124709: [InstCombine][NFC] Add baseline tests for folds of ((A&B)^C)|B
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 06:03:48 PDT 2022
spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/test/Transforms/InstCombine/and-xor-or.ll:171
+; ((x & y) + z) | y -> (z | y)
+
----------------
The use of "+" to represent "xor" confused me. I'd go with the more usual C operator - "^".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124709/new/
https://reviews.llvm.org/D124709
More information about the llvm-commits
mailing list