[ConstraintElim] Store the triple Pred + LHS + RHS in ReproducerEntry instead of...
authorYingwei Zheng <dtcxzyw2333@gmail.com>
Thu, 20 Jul 2023 15:21:36 +0000 (23:21 +0800)
committerYingwei Zheng <dtcxzyw2333@gmail.com>
Thu, 20 Jul 2023 15:21:36 +0000 (23:21 +0800)
commitcce5324994d6ef0c37c2619230154b0658eda398
treeff5486bf4ec16c0c287d87b9c634f9c53c2fdc9e
parent24bb36e58eac6da7f8437c1a9ff8ad96e10578ca
[ConstraintElim] Store the triple Pred + LHS + RHS in ReproducerEntry instead of CmpInst + Not

This patch represents a condition with `Pred + LHS + RHS` in ReproducerEntry instead of `CmpInst + Not`.
It avoids creating temporary ICmpInsts in D155412.

Reviewed By: nikic, fhahn

Differential Revision: https://reviews.llvm.org/D155782
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
llvm/test/Transforms/ConstraintElimination/reproducer-remarks-debug.ll