[PATCH] D133668: [HLSL] Use _BitInt(16) for int16_t to avoid promote to int.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 14:58:54 PDT 2022


rjmccall added a comment.

If you have `char`, would you want it to promote?  Because turning `char` to `_BitInt(8)` is breaking with C on other grounds (like aliasing), for better or worse.  So if you just don't want promotion, maybe you really should just disable promotion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133668/new/

https://reviews.llvm.org/D133668



More information about the cfe-commits mailing list