beanz added a comment.

HLSL deviates from C here. HLSL doesn't actually have `short` (although I'm 
actually not sure we should disable it in Clang). We do have `int16_t`, but we 
don't promote `int16_t` to `int`. We discussed changing codegen to disable 
promotion for HLSL, but it seemed more straightforward to me to just define 
`int16_t` as `_BitInt(16)`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133668

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to