From: Simon Pilgrim Date: Wed, 11 Apr 2018 13:15:36 +0000 (+0000) Subject: [X86][SSE] Tweak cmpps schedule test so that it works properly with just sse1 X-Git-Tag: llvmorg-7.0.0-rc1~8429 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f97328b1f7a30cc5049d041d9d72403ba23e3d1;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/llvm/test/CodeGen/X86/sse-schedule.ll b/llvm/test/CodeGen/X86/sse-schedule.ll index ebac548..7b6831a 100644 --- a/llvm/test/CodeGen/X86/sse-schedule.ll +++ b/llvm/test/CodeGen/X86/sse-schedule.ll @@ -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 %2 = load <4 x float>, <4 x float> *%a2, align 16 %3 = fcmp oeq <4 x float> %a0, %2 - %4 = or <4 x i1> %1, %3 - %5 = sext <4 x i1> %4 to <4 x i32> - %6 = bitcast <4 x i32> %5 to <4 x float> - ret <4 x float> %6 + %4 = sext <4 x i1> %1 to <4 x i32> + %5 = sext <4 x i1> %3 to <4 x i32> + %6 = or <4 x i32> %4, %5 + %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) {