llvm-project/clang/test/CodeGenHLSL/builtins
Chris Bieneman 18385cffc5 [HLSL] Add abs library function
This change exposes the abs library function for HLSL scalar types. Abs
is supported for all scalar, vector and matrix types. This patch only
adds a subset of scalar type support.

Fixes #57100 (https://llvm.org/pr57100)

The full documentation of the HLSL abs function is available here:
https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-abs

Reviewed By: bogner

Differential Revision: https://reviews.llvm.org/D131718
2022-08-25 18:56:51 -05:00
..
RWBuffer-annotations.hlsl [HLSL] CodeGen HLSL Resource annotations 2022-08-01 11:19:43 -05:00
RWBuffer-constructor.hlsl
abs.hlsl [HLSL] Add abs library function 2022-08-25 18:56:51 -05:00
create_handle.hlsl