This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] getNaturalTypeAlignment() to generate TBAA info along with LValue base info
ClosedPublic

Authored by kosarev on Oct 11 2017, 3:31 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

kosarev created this revision.Oct 11 2017, 3:31 AM
rjmccall accepted this revision.Oct 12 2017, 3:39 PM

This function feels increasingly poorly-named, but let's leave that alone for now.

This revision is now accepted and ready to land.Oct 12 2017, 3:39 PM
This revision was automatically updated to reflect the committed changes.

Right. Switching back to returning just AlignmentSource would make its name more adequate, but I suspect we intentionally want full-size lvalue base info here.