[PATCH] D124710: [InstCombine] Fold ((A&B)^C)|B

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 07:49:28 PDT 2022


spatel added a comment.

The pattern-matching and tests don't seem complete. If you have 3 commutative operators, then there should be 8 patterns? Take a look at D124763 <https://reviews.llvm.org/D124763> as an example.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124710



More information about the llvm-commits mailing list