Make TranslateX86CC return COND_INVALID instead of aborting when it
[oota-llvm.git] / test / CodeGen / X86 / vec_ss_load_fold.ll
index 0f15f923fea6d45845ea2f1f6297a14907903e8f..b1613fb3a374000db9b5b9a531e8ab52c4f379b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse,+sse2 -o %t -f
+; RUN: llc < %s -march=x86 -mattr=+sse,+sse2 -o %t
 ; RUN: grep minss %t | grep CPI | count 2
 ; RUN: grep CPI   %t | not grep movss
 
@@ -20,8 +20,8 @@ define i16 @test1(float %f) nounwind {
 }
 
 define i16 @test2(float %f) nounwind {
-       %tmp28 = sub float %f, 1.000000e+00             ; <float> [#uses=1]
-       %tmp37 = mul float %tmp28, 5.000000e-01         ; <float> [#uses=1]
+       %tmp28 = fsub float %f, 1.000000e+00            ; <float> [#uses=1]
+       %tmp37 = fmul float %tmp28, 5.000000e-01                ; <float> [#uses=1]
        %tmp375 = insertelement <4 x float> undef, float %tmp37, i32 0          ; <<4 x float>> [#uses=1]
        %tmp48 = tail call <4 x float> @llvm.x86.sse.min.ss( <4 x float> %tmp375, <4 x float> < float 6.553500e+04, float undef, float undef, float undef > )           ; <<4 x float>> [#uses=1]
        %tmp59 = tail call <4 x float> @llvm.x86.sse.max.ss( <4 x float> %tmp48, <4 x float> < float 0.000000e+00, float undef, float undef, float undef > )            ; <<4 x float>> [#uses=1]