[clang] [llvm] Hlsl asint16 intrinsic (PR #131900)

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 19 18:47:41 PDT 2025


================
@@ -80,6 +80,34 @@ void asuint(double3, out uint3, out uint3);
 _HLSL_BUILTIN_ALIAS(__builtin_hlsl_elementwise_splitdouble)
 void asuint(double4, out uint4, out uint4);
 
+//===----------------------------------------------------------------------===//
+// asint16 builtins
+//===----------------------------------------------------------------------===//
+
+/// \fn int16_t asint16(T Val)
----------------
metkarpoonam wrote:

I've replaced Val with X as suggested. Thanks for the clarification.

https://github.com/llvm/llvm-project/pull/131900


More information about the llvm-commits mailing list