From 00f19b65421b6517a7c856351384909b00e88f5f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 11 Aug 2008 20:10:41 +0000 Subject: [PATCH] Improve the grep commands for this test to be tolerant of ABI differences, and to be more specific. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54648 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/extractps.ll | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/CodeGen/X86/extractps.ll b/test/CodeGen/X86/extractps.ll index eb043f3b431..0c20cb36949 100644 --- a/test/CodeGen/X86/extractps.ll +++ b/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]