This is an archive of the discontinued LLVM Phabricator instance.

[Attributor] Use existing function information for the call site
ClosedPublic

Authored by jdoerfert on Aug 26 2019, 9:15 PM.

Details

Summary

Instead of recomputing information for call sites we now use the
function information directly. This is always valid and once we have
call site specific information we can improve here.

This patch also bootstraps attributes that are created on-demand through
an initial update call. Information that is known will then directly be
available in the new attribute without causing an iteration delay.

The tests show how this improves the iteration count.

Diff Detail

Repository
rL LLVM

Event Timeline

jdoerfert created this revision.Aug 26 2019, 9:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 26 2019, 9:15 PM
uenoku accepted this revision.Aug 29 2019, 8:11 AM

LGTM

llvm/lib/Transforms/IPO/Attributor.cpp
2328 ↗(On Diff #217302)

liveness liveness

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