This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] Move assumes checks into isKnownPredicateAt
AbandonedPublic

Authored by mkazantsev on Nov 25 2020, 10:32 PM.

Details

Summary

We can benefit from assumes in isKnownPredicateAt, not only in
isLoopBackedgeGuardedByCond. The proof there also may become
more powerful from using the context.

Diff Detail

Event Timeline

mkazantsev created this revision.Nov 25 2020, 10:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 25 2020, 10:32 PM
mkazantsev requested review of this revision.Nov 25 2020, 10:32 PM
mkazantsev retitled this revision from [SCEV] Move assertion checks into isKnownPredicateAt to [SCEV] Move assumes checks into isKnownPredicateAt.Nov 25 2020, 11:32 PM
mkazantsev abandoned this revision.Nov 26 2020, 1:53 AM

Already present in isBasicBlockEntryGuardedByCond.