This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Restrict liveness and return information to functions
ClosedPublic

Authored by jdoerfert on Aug 21 2019, 3:01 PM.

Details

Summary

Until we have proper call-site information we should not recompute
liveness and return information for each call site. This patch directly
uses the function versions and introduces TODOs at the usage sites.

The required iterations to get to the fixpoint are most of the time
reduced by this change and we always avoid work duplication.

Event Timeline

jdoerfert created this revision.Aug 21 2019, 3:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2019, 3:01 PM
jdoerfert updated this revision to Diff 217300.Aug 26 2019, 9:05 PM

Update tests

sstefan1 accepted this revision.Aug 28 2019, 2:43 AM

LGTM.

This revision is now accepted and ready to land.Aug 28 2019, 2:43 AM
This revision was automatically updated to reflect the committed changes.