File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
clang/test/CodeGenHLSL/builtins Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -finclude-default-header -triple \
2
2
// RUN: dxil-pc-shadermodel6.3-compute %s -emit-llvm -disable-llvm-passes -o - | \
3
3
// 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
7
4
8
5
// Test basic lowering to runtime function call.
9
6
10
7
// CHECK-LABEL: test
11
8
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
12
11
return dot2add (p1, p2, p3);
13
12
}
14
13
You can’t perform that action at this time.
0 commit comments