llvm/clang/test/CodeGenHLSL
Xiang Li 77f72ac15b [HLSL] Enable half type for hlsl.
HLSL supports half type.
When enable-16bit-types is not set, half will be treated as float.
When enable-16bit-types is set, half will be treated like real 16bit float type and map to llvm half type.
Also change CXXABI to Microsoft to match dxc behavior.
The mangle name for half is "$f16@" when half is treat as native half type and "$halff@" when treat as float.

In AST, half is still half.
The special thing is done at clang codeGen, when NativeHalfType is false, half will translated into float.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D124790
2022-06-23 12:56:26 -07:00
..
basic-target.c
basic_types.hlsl [HLSL] Enable half type for hlsl. 2022-06-23 12:56:26 -07:00
half.hlsl [HLSL] Enable half type for hlsl. 2022-06-23 12:56:26 -07:00
lit.local.cfg
validator_version.hlsl