From c82ad79c64a69f4e5fcf3092b332a96aa86ef4bd Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 11 Aug 2008 20:10:41 +0000 Subject: Improve the grep commands for this test to be tolerant of ABI differences, and to be more specific. llvm-svn: 54648 --- llvm/test/CodeGen/X86/extractps.ll | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/test/CodeGen/X86/extractps.ll') diff --git a/llvm/test/CodeGen/X86/extractps.ll b/llvm/test/CodeGen/X86/extractps.ll index eb043f3b431..0c20cb36949 100644 --- a/llvm/test/CodeGen/X86/extractps.ll +++ b/llvm/test/CodeGen/X86/extractps.ll @@ -1,4 +1,7 @@ -; RUN: llvm-as < %s | llc -mcpu=penryn | grep mov | count 1 +; RUN: llvm-as < %s | llc -mcpu=penryn > %t +; not grep movd %t +; not grep movss %t +; grep {extractps \\$0, %xmm0, } %t ; PR2647 external global float, align 16 ; :0 [#uses=2] -- cgit v1.2.3