Skip to content

Commit f3dde28

Browse files
committed
fixup: fix SM in tests
1 parent e4d7bfd commit f3dde28

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

clang/test/CodeGenHLSL/builtins/dot4add_i8packed.hlsl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.3-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=dx
1+
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.4-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=dx
22
// RUN: %clang_cc1 -finclude-default-header -triple spirv-pc-vulkan-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=spv
33

44
// Test basic lowering to runtime function call.
@@ -17,3 +17,8 @@ int test(uint x, uint y, int acc) {
1717
// CHECK: call i32 @llvm.[[TARGET]].dot4add.i8packed(i32 [[ACC0]], i32 [[X0]], i32 [[Y0]])
1818
return dot4add_i8packed(x, y, acc);
1919
}
20+
21+
[numthreads(1,1,1)]
22+
void main() {
23+
test(0, 0, 0);
24+
}

clang/test/CodeGenHLSL/builtins/dot4add_u8packed.hlsl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.3-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=dx
1+
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.4-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=dx
22
// RUN: %clang_cc1 -finclude-default-header -triple spirv-pc-vulkan-compute %s -emit-llvm -o - | FileCheck %s -DTARGET=spv
33

44
// Test basic lowering to runtime function call.
@@ -17,3 +17,8 @@ int test(uint x, uint y, int acc) {
1717
// CHECK: call i32 @llvm.[[TARGET]].dot4add.u8packed(i32 [[ACC0]], i32 [[X0]], i32 [[Y0]])
1818
return dot4add_u8packed(x, y, acc);
1919
}
20+
21+
[numthreads(1,1,1)]
22+
void main() {
23+
test(0, 0, 0);
24+
}

0 commit comments

Comments
 (0)