This is an archive of the discontinued LLVM Phabricator instance.

[WIP][clang] Allow {u}int_fastN_t to be different to {u}int_leastN_t
AbandonedPublic

Authored by lenary on Jun 1 2020, 5:03 PM.

Details

Reviewers
None
Summary

This is in order to support psABIs where these two type sizes do not match for
specific values of N. The default implementation matches clang's current
behaviour where getLeastIntTypeByWidth is used for {u}int_fastN_t.

This patch is a Work-In-Progress. I am seeking guidance as to how to update
clang's stdint.h to match this change.

Diff Detail

Event Timeline

lenary created this revision.Jun 1 2020, 5:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2020, 5:03 PM
lenary planned changes to this revision.Jan 21 2022, 4:06 AM
lenary removed reviewers: luismarques, asb.
lenary abandoned this revision.Mar 24 2023, 8:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 8:44 AM