From 9c04ad5ed7d82d0199b508a7d1368bf96c3bbfad Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Fri, 6 Mar 2015 21:16:15 +0000 Subject: [PATCH] fixed test to use FileCheck llvm-svn: 231519 --- llvm/test/CodeGen/X86/vec_insert-3.ll | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/llvm/test/CodeGen/X86/vec_insert-3.ll b/llvm/test/CodeGen/X86/vec_insert-3.ll index a871339..19f1bc1 100644 --- a/llvm/test/CodeGen/X86/vec_insert-3.ll +++ b/llvm/test/CodeGen/X86/vec_insert-3.ll @@ -1,6 +1,11 @@ -; RUN: llc < %s -march=x86-64 -mattr=+sse2,-sse4.1 | grep punpcklqdq | count 1 +; RUN: llc < %s -march=x86-64 -mattr=+sse2,-sse4.1 | FileCheck %s define <2 x i64> @t1(i64 %s, <2 x i64> %tmp) nounwind { - %tmp1 = insertelement <2 x i64> %tmp, i64 %s, i32 1 - ret <2 x i64> %tmp1 +; CHECK-LABEL: t1: +; CHECK: movd +; CHECK-NEXT: punpcklqdq +; CHECK-NEXT: retq + + %tmp1 = insertelement <2 x i64> %tmp, i64 %s, i32 1 + ret <2 x i64> %tmp1 } -- 2.7.4