summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_set-9.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/vec_set-9.ll')
-rw-r--r--test/CodeGen/X86/vec_set-9.ll9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/CodeGen/X86/vec_set-9.ll b/test/CodeGen/X86/vec_set-9.ll
index b8ec0cf080..6979f6bb1c 100644
--- a/test/CodeGen/X86/vec_set-9.ll
+++ b/test/CodeGen/X86/vec_set-9.ll
@@ -1,5 +1,10 @@
-; RUN: llc < %s -march=x86-64 | grep movd | count 1
-; RUN: llc < %s -march=x86-64 | grep "movlhps.*%xmm0, %xmm0"
+; RUN: llc < %s -march=x86-64 | FileCheck %s
+
+; CHECK: test3
+; CHECK: movd
+; CHECK-NOT: movd
+; CHECK: {{movlhps.*%xmm0, %xmm0}}
+; CHECK-NEXT: ret
define <2 x i64> @test3(i64 %A) nounwind {
entry: