
short will be promoted to int in UsualUnaryConversions. Disable it for HLSL to keep int16_t as 16bit. Reviewed By: aaron.ballman, rjmccall Differential Revision: https://reviews.llvm.org/D133668
8 lines
271 B
HLSL
8 lines
271 B
HLSL
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -ast-dump -o - %s -verify
|
|
|
|
// expected-error@+1 {{_BitInt is not supported on this target}}
|
|
_BitInt(128) i128;
|
|
|
|
// expected-error@+1 {{_BitInt is not supported on this target}}
|
|
unsigned _BitInt(128) u128;
|