[ConstraintElim] Move after first instcombine run.
authorFlorian Hahn <flo@fhahn.com>
Tue, 3 Jan 2023 13:25:00 +0000 (13:25 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 3 Jan 2023 13:25:00 +0000 (13:25 +0000)
commit9e6d2c82d6aa40c5cd81443603e2d1ddbdccb65e
tree302059435dd69866a2d17df6e4d0ca897a7a0212
parent25450788a44795bde1420f1228aa9670c3189018
[ConstraintElim] Move after first instcombine run.

Running ConstraintEliminiation after the first InstCombine run results
in slightly more simplifications on average.

There are is a tiny number of regressions, mostly due to CVP eliminating
a condition that ConstraintElimination would use, but in most cases
there's a slight improvement or no change.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D140853
llvm/lib/Passes/PassBuilderPipelines.cpp