Improve the grep commands for this test to be tolerant of ABI
authorDan Gohman <gohman@apple.com>
Mon, 11 Aug 2008 20:10:41 +0000 (20:10 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 11 Aug 2008 20:10:41 +0000 (20:10 +0000)
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

index eb043f3b431c3e06ee53b9438f52dfe1ea510d98..0c20cb369490059e9c40e19300264f5615ddeed0 100644 (file)
@@ -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         ; <float*>:0 [#uses=2]