[cfe-commits] [PATCH] Improved handling of 128-bit integer literals

Stephen Canon scanon at apple.com
Fri Nov 30 03:50:44 PST 2012


Updated with Richard's latest input:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: int128-literals.patch
Type: application/octet-stream
Size: 25568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121130/919a0f64/attachment.obj>
-------------- next part --------------


• fixed indentation
• i32 and i64 will now have the correct size (instead of i32 being "long" even on LP64 platforms).  We can't do this for i8 or i16 without more invasive changes, so those will wait for another patch.
• MS literals get sign- or zero-extended as appropriate.
• MS literal path is generally cleaner.
• adopted hasInt128Type().

- Steve


More information about the cfe-commits mailing list