[X86][SSE] Tweak cmpps schedule test so that it works properly with just sse1

movhps/movlps test are still broken so we can't disable sse2 yet

llvm-svn: 329802
This commit is contained in:
Simon Pilgrim 2018-04-11 13:15:36 +00:00
parent fc715551a3
commit 6f97328b1f
1 changed files with 5 additions and 4 deletions

View File

@ -593,10 +593,11 @@ define <4 x float> @test_cmpps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
%1 = fcmp oeq <4 x float> %a0, %a1 %1 = fcmp oeq <4 x float> %a0, %a1
%2 = load <4 x float>, <4 x float> *%a2, align 16 %2 = load <4 x float>, <4 x float> *%a2, align 16
%3 = fcmp oeq <4 x float> %a0, %2 %3 = fcmp oeq <4 x float> %a0, %2
%4 = or <4 x i1> %1, %3 %4 = sext <4 x i1> %1 to <4 x i32>
%5 = sext <4 x i1> %4 to <4 x i32> %5 = sext <4 x i1> %3 to <4 x i32>
%6 = bitcast <4 x i32> %5 to <4 x float> %6 = or <4 x i32> %4, %5
ret <4 x float> %6 %7 = bitcast <4 x i32> %6 to <4 x float>
ret <4 x float> %7
} }
define float @test_cmpss(float %a0, float %a1, float *%a2) { define float @test_cmpss(float %a0, float %a1, float *%a2) {