[PATCH] D33050: [InstCombine] remove fold that swaps xor/or with constants
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 10 11:05:21 PDT 2017
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
It's a canonicalization of sorts; could help pick up more complicated patterns like `((a ^ c1) | c2) ^ c3`. Please make sure we have a regression test like this for instcombine.
https://reviews.llvm.org/rL7264 for reference.
https://reviews.llvm.org/D33050
More information about the llvm-commits
mailing list