[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `dot4add_u8packed` intrinsic (PR #115068)
Greg Roth via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 6 12:26:27 PST 2024
================
@@ -0,0 +1,18 @@
+
+// RUN: %clang_cc1 -finclude-default-header -triple \
+// RUN: dxil-pc-shadermodel6.3-compute %s -emit-llvm -disable-llvm-passes -o - | \
+// RUN: FileCheck %s -DTARGET=dx
+// RUN: %clang_cc1 -finclude-default-header -triple \
+// RUN: spirv-pc-vulkan-compute %s -emit-llvm -disable-llvm-passes -o - | \
+// RUN: FileCheck %s -DTARGET=spv
+
+// Test basic lowering to runtime function call.
+
+// CHECK-LABEL: test
----------------
pow2clk wrote:
It would be slightly tighter to make this a check for `define {{.*}}test` as it could match the function declaration at present.
https://github.com/llvm/llvm-project/pull/115068
More information about the cfe-commits
mailing list