Ignore DBG_VALUE machine instructions while constructing instruction ranges based...
[oota-llvm.git] / test / CodeGen / X86 / vec_ss_load_fold.ll
index a44e08dc84ad004975d5cfe3c1569d9af45f4900..3bd3f7b60b3bbd25b1987058cab54bf7f4db7801 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse,+sse2 | FileCheck %s
+; RUN: llc < %s -march=x86 -mattr=+sse,+sse2,+sse41 | FileCheck %s
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8.7.2"
@@ -16,9 +16,9 @@ define i16 @test1(float %f) nounwind {
        %tmp69 = trunc i32 %tmp.upgrd.1 to i16          ; <i16> [#uses=1]
        ret i16 %tmp69
 ; CHECK: test1:
-; CHECK: subss LCPI1_
-; CHECK: mulss LCPI1_
-; CHECK: minss LCPI1_
+; CHECK: subss LCPI0_
+; CHECK: mulss LCPI0_
+; CHECK: minss LCPI0_
 }
 
 define i16 @test2(float %f) nounwind {
@@ -31,9 +31,9 @@ define i16 @test2(float %f) nounwind {
        %tmp69 = trunc i32 %tmp to i16          ; <i16> [#uses=1]
        ret i16 %tmp69
 ; CHECK: test2:
-; CHECK: addss LCPI2_
-; CHECK: mulss LCPI2_
-; CHECK: minss LCPI2_
+; CHECK: addss LCPI1_
+; CHECK: mulss LCPI1_
+; CHECK: minss LCPI1_
 }
 
 declare <4 x float> @llvm.x86.sse.sub.ss(<4 x float>, <4 x float>)
@@ -69,4 +69,4 @@ define <4 x float> @test4(<4 x float> %A, float *%b, i32 %C) nounwind {
 ; CHECK: movss (%eax), %xmm
 ; CHECK: call
 ; CHECK: roundss $4, %xmm{{.*}}, %xmm0
-}
\ No newline at end of file
+}