[clang] [llvm] [HLSL] Implement the `reflect` HLSL function (PR #122992)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 09:55:22 PST 2025


================
@@ -0,0 +1,32 @@
+// 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
----------------
inbelic wrote:

Do we also want to test a DirectX target? Or is the purpose of this test just to check we generate the intrinsic rather than expansion.

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


More information about the llvm-commits mailing list