[llvm] [VPlan] Simplify (X && Y) || (X && !Y) -> X. (PR #89386)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 05:06:01 PDT 2024


https://github.com/fhahn commented:

The latest version is simplified by stripping out the logic to match commutative expressions and limits the matching to the existing BinaryOr (renamed to be more accurate) and the new LogicalAnd matchers.

I'll share a follow-up adding just the commutative matcher

https://github.com/llvm/llvm-project/pull/89386


More information about the llvm-commits mailing list