Page MenuHomePhabricator

[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.

Diff Detail

Repository
rL LLVM

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.Mon, Aug 26, 9:05 PM

Update tests

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

LGTM.

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