Add a test case to check handling of dbg-declare by fast-isel.
[oota-llvm.git] / test / CodeGen / X86 / vec_set-9.ll
index d00ceff54045603ea0d5b0c733674a4aba926292..3656e5f6ca47b1972ef2ab4ea672faf18bdb1100 100644 (file)
@@ -1,6 +1,7 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep movd | count 1
+; RUN: llc < %s -march=x86-64 | grep movd | count 1
+; RUN: llc < %s -march=x86-64 | grep {movlhps.*%xmm0, %xmm0}
 
-define <2 x i64> @test3(i64 %A) {
+define <2 x i64> @test3(i64 %A) nounwind {
 entry:
        %B = insertelement <2 x i64> undef, i64 %A, i32 1
        ret <2 x i64> %B