This patch represents a condition with Pred + LHS + RHS in ReproducerEntry instead of CmpInst + Not.
It avoids creating temporary ICmpInsts in D155412.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D155782  
[ConstraintElim] Store the triple Pred + LHS + RHS in ReproducerEntry instead of CmpInst + Not ClosedPublic Authored by dtcxzyw on Jul 19 2023, 11:05 PM. 
Details Summary This patch represents a condition with Pred + LHS + RHS in ReproducerEntry instead of CmpInst + Not. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jul 20 2023, 12:24 AM This revision was landed with ongoing or failed builds.Jul 20 2023, 8:23 AM Closed by commit rGcce5324994d6: [ConstraintElim] Store the triple Pred + LHS + RHS in ReproducerEntry instead… (authored by dtcxzyw).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 542544 llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
 llvm/test/Transforms/ConstraintElimination/reproducer-remarks-debug.ll
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You can pass false as the second arg here to avoid printing the type again, matching how icmp is usually printed.