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 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
118float 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
You can’t perform that action at this time.
0 commit comments