This is an archive of the discontinued LLVM Phabricator instance.

Use typedef to represent storage type in FPOption and FPOptionsOverride
ClosedPublic

Authored by sepavloff on Jul 20 2020, 3:20 AM.

Details

Summary

Size of FPOption is now 14 bit, which is closed to the current limit
of 16 bits. Adding new properties to FPOption would require change of
the types, which represent storage of FPOption and FPOptionsOverride.
To facilitate this change, the storage types were changed from standard
integer types to typedefs defined inside the proper classes. Checks for
size of these storage types were added.

No functional changes intended.

Diff Detail

Event Timeline

sepavloff created this revision.Jul 20 2020, 3:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2020, 3:20 AM
This revision is now accepted and ready to land.Jul 20 2020, 10:51 AM
This revision was automatically updated to reflect the committed changes.