This is an archive of the discontinued LLVM Phabricator instance.

Allow use of fixed width integer types in builtin definitions
AbandonedPublic

Authored by edward-jones on Jun 12 2017, 6:47 AM.

Details

Reviewers
rsmith
arsenm
Summary

This makes it possible to specify a bit width after the 'i' integer type specifier when defining builtins. The bswap and bitreverse builtins have been updated so that their definitions use fixed-width types instead of short, int and long, so that they work on targets where int != 32-bits and long != 64 bits.

Diff Detail

Event Timeline

edward-jones created this revision.Jun 12 2017, 6:47 AM
chh added a subscriber: chh.Nov 14 2017, 10:53 AM
arsenm resigned from this revision.Feb 21 2019, 6:58 PM
edward-jones abandoned this revision.Nov 7 2019, 7:56 AM