This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Generate TBAA info on passing arguments and returning values
Needs ReviewPublic

Authored by kosarev on Dec 24 2017, 3:28 AM.

Details

Reviewers
rjmccall
hfinkel
Summary

We only do this for the new format as the old format does not allow to represent accesses to aggregates. This patch significantly improves TBAA coverage on -O1 builds.

Diff Detail

Event Timeline

kosarev created this revision.Dec 24 2017, 3:28 AM

Aren't these always loads and stores from allocas? I would expect TBAA to be useless here because it's always strictly less informative than basic-AA, which knows that the access doesn't alias with anything.

Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2019, 8:55 AM