This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Fix access sizes in new-format TBAA tags
ClosedPublic

Authored by kosarev on Dec 20 2017, 8:03 AM.

Details

Summary

The new format requires to specify both the type of the access and its size. This patch fixes setting access sizes for TBAA tags that denote accesses to structure members. This fix affects all future TBAA metadata tests for the new format, so I guess we don't need any special tests for this fix.

Diff Detail

Event Timeline

kosarev created this revision.Dec 20 2017, 8:03 AM
hfinkel accepted this revision.Dec 20 2017, 8:24 PM

LGTM.

Me too.

This revision is now accepted and ready to land.Dec 20 2017, 8:24 PM
This revision was automatically updated to reflect the committed changes.