[clang] [llvm] [DirectX][SPIRV] Fix the lowering of dot4add (PR #140315)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Fri May 16 17:12:57 PDT 2025
================
@@ -1,17 +1,19 @@
-// 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
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.3-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=dx
----------------
bogner wrote:
Yes, this should error. However, the definitions are already marked with `_HLSL_AVAILABILITY(shadermodel, 6.4)` so I'm not sure why this *isn't* erroring. I'll look into this.
https://github.com/llvm/llvm-project/pull/140315
More information about the cfe-commits
mailing list