This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Deal with shrinking dereferenceability in a loop
ClosedPublic

Authored by jdoerfert on Aug 21 2019, 2:00 PM.

Details

Summary

If we have a loop in which the dereferenceability of a pointer decreases
we did slowly increase it so far, leading to a timeout during the
fixpoint iteration. With this patch we detect such circular reasoning
and indicate a fixpoint early.

Diff Detail

Repository
rL LLVM

Event Timeline

jdoerfert created this revision.Aug 21 2019, 2:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2019, 2:00 PM
uenoku accepted this revision.Aug 23 2019, 8:53 AM

LGTM

This revision is now accepted and ready to land.Aug 23 2019, 8:53 AM
This revision was automatically updated to reflect the committed changes.