File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
clang/test/CodeGenHLSL/builtins Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.3-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -o - | FileCheck %s
2
2
3
3
// CHECK-LABEL: builtin_lerp_half_vector
4
- // CHECK: %dx .lerp = call <3 x half> @llvm.dx.lerp.v3f16(<3 x half> %0, <3 x half> %1, <3 x half> %2)
5
- // CHECK: ret <3 x half> %dx .lerp
4
+ // CHECK: %hlsl .lerp = call <3 x half> @llvm.dx.lerp.v3f16(<3 x half> %0, <3 x half> %1, <3 x half> %2)
5
+ // CHECK: ret <3 x half> %hlsl .lerp
6
6
half3 builtin_lerp_half_vector (half3 p0) {
7
7
return __builtin_hlsl_lerp ( p0, p0, p0 );
8
8
}
9
9
10
10
// CHECK-LABEL: builtin_lerp_floar_vector
11
- // CHECK: %dx .lerp = call <2 x float> @llvm.dx.lerp.v2f32(<2 x float> %0, <2 x float> %1, <2 x float> %2)
12
- // CHECK: ret <2 x float> %dx .lerp
11
+ // CHECK: %hlsl .lerp = call <2 x float> @llvm.dx.lerp.v2f32(<2 x float> %0, <2 x float> %1, <2 x float> %2)
12
+ // CHECK: ret <2 x float> %hlsl .lerp
13
13
float2 builtin_lerp_floar_vector ( float2 p0) {
14
14
return __builtin_hlsl_lerp ( p0, p0, p0 );
15
15
}
You can’t perform that action at this time.
0 commit comments