@@ -24,23 +24,23 @@ entry:
2424define noundef <2 x half > @test_step_half2 (<2 x half > noundef %p0 , <2 x half > noundef %p1 ) {
2525entry:
2626 ; CHECK: %0 = fcmp olt <2 x half> %p1, %p0
27- ; CHECK: %1 = select <2 x i1> %0, <2 x half> zeroinitializer, <2 x half> <half 0xH3C00, half 0xH3C00>
27+ ; CHECK: %1 = select <2 x i1> %0, <2 x half> zeroinitializer, <2 x half> splat ( half 0xH3C00)
2828 %hlsl.step = call <2 x half > @llvm.dx.step.v2f16 (<2 x half > %p0 , <2 x half > %p1 )
2929 ret <2 x half > %hlsl.step
3030}
3131
3232define noundef <3 x half > @test_step_half3 (<3 x half > noundef %p0 , <3 x half > noundef %p1 ) {
3333entry:
3434 ; CHECK: %0 = fcmp olt <3 x half> %p1, %p0
35- ; CHECK: %1 = select <3 x i1> %0, <3 x half> zeroinitializer, <3 x half> <half 0xH3C00, half 0xH3C00, half 0xH3C00>
35+ ; CHECK: %1 = select <3 x i1> %0, <3 x half> zeroinitializer, <3 x half> splat ( half 0xH3C00)
3636 %hlsl.step = call <3 x half > @llvm.dx.step.v3f16 (<3 x half > %p0 , <3 x half > %p1 )
3737 ret <3 x half > %hlsl.step
3838}
3939
4040define noundef <4 x half > @test_step_half4 (<4 x half > noundef %p0 , <4 x half > noundef %p1 ) {
4141entry:
4242 ; CHECK: %0 = fcmp olt <4 x half> %p1, %p0
43- ; CHECK: %1 = select <4 x i1> %0, <4 x half> zeroinitializer, <4 x half> <half 0xH3C00, half 0xH3C00, half 0xH3C00, half 0xH3C00>
43+ ; CHECK: %1 = select <4 x i1> %0, <4 x half> zeroinitializer, <4 x half> splat ( half 0xH3C00)
4444 %hlsl.step = call <4 x half > @llvm.dx.step.v4f16 (<4 x half > %p0 , <4 x half > %p1 )
4545 ret <4 x half > %hlsl.step
4646}
@@ -56,23 +56,23 @@ entry:
5656define noundef <2 x float > @test_step_float2 (<2 x float > noundef %p0 , <2 x float > noundef %p1 ) {
5757entry:
5858 ; CHECK: %0 = fcmp olt <2 x float> %p1, %p0
59- ; CHECK: %1 = select <2 x i1> %0, <2 x float> zeroinitializer, <2 x float> <float 1.000000e+00, float 1.000000e+00>
59+ ; CHECK: %1 = select <2 x i1> %0, <2 x float> zeroinitializer, <2 x float> splat ( float 1.000000e+00)
6060 %hlsl.step = call <2 x float > @llvm.dx.step.v2f32 (<2 x float > %p0 , <2 x float > %p1 )
6161 ret <2 x float > %hlsl.step
6262}
6363
6464define noundef <3 x float > @test_step_float3 (<3 x float > noundef %p0 , <3 x float > noundef %p1 ) {
6565entry:
6666 ; CHECK: %0 = fcmp olt <3 x float> %p1, %p0
67- ; CHECK: %1 = select <3 x i1> %0, <3 x float> zeroinitializer, <3 x float> <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
67+ ; CHECK: %1 = select <3 x i1> %0, <3 x float> zeroinitializer, <3 x float> splat ( float 1.000000e+00)
6868 %hlsl.step = call <3 x float > @llvm.dx.step.v3f32 (<3 x float > %p0 , <3 x float > %p1 )
6969 ret <3 x float > %hlsl.step
7070}
7171
7272define noundef <4 x float > @test_step_float4 (<4 x float > noundef %p0 , <4 x float > noundef %p1 ) {
7373entry:
7474 ; CHECK: %0 = fcmp olt <4 x float> %p1, %p0
75- ; CHECK: %1 = select <4 x i1> %0, <4 x float> zeroinitializer, <4 x float> <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
75+ ; CHECK: %1 = select <4 x i1> %0, <4 x float> zeroinitializer, <4 x float> splat ( float 1.000000e+00)
7676 %hlsl.step = call <4 x float > @llvm.dx.step.v4f32 (<4 x float > %p0 , <4 x float > %p1 )
7777 ret <4 x float > %hlsl.step
7878}
0 commit comments