This is an archive of the discontinued LLVM Phabricator instance.

Fix TBAA for unsigned fixed-point types
ClosedPublic

Authored by materi on Mar 26 2020, 8:49 AM.

Details

Summary

Unsigned types can alias the corresponding signed types. I don't see
that this is explicitly mentioned in the Embedded-C specification, but
I think it should work the same as for the integer types.

Diff Detail

Event Timeline

materi created this revision.Mar 26 2020, 8:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 26 2020, 8:49 AM
Herald added a subscriber: kosarev. · View Herald Transcript
leonardchan accepted this revision.Mar 26 2020, 11:34 AM

LGTM. Thanks for the fix!

This revision is now accepted and ready to land.Mar 26 2020, 11:34 AM
This revision was automatically updated to reflect the committed changes.