[ConstraintElimination] Generalize AND matching.
authorFlorian Hahn <flo@fhahn.com>
Thu, 6 Oct 2022 16:17:37 +0000 (17:17 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 6 Oct 2022 16:17:38 +0000 (17:17 +0100)
commita7ac0dd0cf2be760ea847b5c6ed154cae33b67e7
tree267cf1c07f12e99ee4cda2fa166cd8d3a2949f00
parent5a0722e0469894564dd9b0ee1d4f8c291d09c776
[ConstraintElimination] Generalize AND matching.

Extend more general matching used for chains of ORs to also support
chains of ANDs.
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
llvm/test/Transforms/ConstraintElimination/and.ll