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

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 31 10:42:34 PDT 2024


================
@@ -0,0 +1,31 @@
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -verify -verify-ignore-unexpected
+
+void test_too_few_arg()
+{
+	return __builtin_hlsl_elementwise_length();
----------------
farzonl wrote:

same issue in this file normalize to two spaces. 

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


More information about the cfe-commits mailing list