This is an archive of the discontinued LLVM Phabricator instance.

[funcattrs] Use callsite param attributes from indirect calls when inferring access attributes
ClosedPublic

Authored by reames on Dec 21 2021, 10:05 AM.

Details

Summary

Arguments to an indirect call is by definition outside the SCC, but there's no reason we can't use locally defined facts on the call site. This also has the nice effect of further simplifying the code.

Diff Detail

Event Timeline

reames created this revision.Dec 21 2021, 10:05 AM
reames requested review of this revision.Dec 21 2021, 10:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 21 2021, 10:05 AM
nikic accepted this revision.Dec 21 2021, 11:15 AM

LGTM

This revision is now accepted and ready to land.Dec 21 2021, 11:15 AM
This revision was landed with ongoing or failed builds.Dec 22 2021, 6:23 PM
This revision was automatically updated to reflect the committed changes.