Skip to content

Commit 7baee96

Browse files
committed
WIP
1 parent 3e265ff commit 7baee96

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/test/CodeGenHLSL/builtins/dot2add.hlsl

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

85
// Test basic lowering to runtime function call.
96

107
// CHECK-LABEL: test
118
float test(half2 p1, half2 p2, float p3) {
9+
// CHECK-DXIL: %hlsl.dot2add = call reassoc nnan ninf nsz arcp afn float @llvm.dx.dot2add.v2f32(<2 x float> %0, <2 x float> %1, float %2)
10+
// CHECK: ret float %hlsl.dot2add
1211
return dot2add(p1, p2, p3);
1312
}
1413

0 commit comments

Comments
 (0)