This is an archive of the discontinued LLVM Phabricator instance.

[ConstraintSolver] Add isConditionImplied helper.
ClosedPublic

Authored by fhahn on Jul 24 2020, 12:33 PM.

Details

Summary

This patch adds a isConditionImplied function that
takes a constraint and returns true if the constraint
is implied by the current constraints in the system.

Diff Detail

Event Timeline

fhahn created this revision.Jul 24 2020, 12:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2020, 12:33 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
fhahn retitled this revision from [ConstraintSolver] Add isConditionImplied helper. (WIP) to [ConstraintSolver] Add isConditionImplied helper..Sep 3 2020, 1:29 PM
fhahn edited the summary of this revision. (Show Details)
fhahn added reviewers: reames, spatel, lebedev.ri, efriedma.
spatel accepted this revision.Sep 8 2020, 9:54 AM

LGTM

llvm/lib/Analysis/ConstraintSystem.cpp
146

Typo - existing

llvm/unittests/Analysis/ConstraintSystemTest.cpp
83

Typo: Slover -> Solver

This revision is now accepted and ready to land.Sep 8 2020, 9:54 AM
fhahn updated this revision to Diff 291874.Sep 15 2020, 5:41 AM

Address comments, rebase, will commit shortly.

This revision was landed with ongoing or failed builds.Sep 15 2020, 6:10 AM
This revision was automatically updated to reflect the committed changes.