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

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 19 12:37:10 PDT 2022


python3kgae updated this revision to Diff 461308.
python3kgae added a comment.

Limit max bitint width to 64 for HLSL.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133668

Files:
  clang/lib/Basic/Targets/DirectX.h
  clang/lib/Headers/hlsl/hlsl_basic_types.h
  clang/test/CodeGenHLSL/basic_types.hlsl
  clang/test/CodeGenHLSL/builtins/abs.hlsl
  clang/test/CodeGenHLSL/int16_t_add.hlsl
  clang/test/SemaHLSL/BitInt128.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133668.461308.patch
Type: text/x-patch
Size: 5193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220919/2071844d/attachment.bin>


More information about the cfe-commits mailing list