[clang] [llvm] [HLSL] Implement the `faceforward` intrinsic (PR #135878)
Kaitlin Peng via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 18 14:47:45 PDT 2025
================
@@ -0,0 +1,35 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+
+// RUN: %clang_cc1 -O1 -triple spirv-pc-vulkan-compute %s -emit-llvm -o - | FileCheck %s
+
+typedef float float2 __attribute__((ext_vector_type(2)));
+typedef float float3 __attribute__((ext_vector_type(3)));
+typedef float float4 __attribute__((ext_vector_type(4)));
+
----------------
kmpeng wrote:
Added half tests
https://github.com/llvm/llvm-project/pull/135878
More information about the llvm-commits
mailing list