[clang] [llvm] [DirectX][SPIRV] Fix the lowering of dot4add (PR #140315)

Finn Plummer via cfe-commits cfe-commits at lists.llvm.org
Fri May 16 16:08:14 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
----------------
inbelic wrote:

```suggestion
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.4-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=dx
```
Should this error on the lower version at this point as well, or, is it fine to rely on the error generated when lowering further?

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


More information about the cfe-commits mailing list