[clang] [llvm] Add length HLSL function to DirectX Backend (PR #101256)

Damyan Pepper via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 11:09:23 PDT 2024


================
@@ -908,6 +908,38 @@ float3 lerp(float3, float3, float3);
 _HLSL_BUILTIN_ALIAS(__builtin_hlsl_lerp)
 float4 lerp(float4, float4, float4);
 
+//===----------------------------------------------------------------------===//
----------------
damyanp wrote:

PR title looks like it may be misnamed, since this is also adding the HLSL builtin functions, it is doing more than just adding it to the backend.

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


More information about the llvm-commits mailing list