[llvm-commits] [llvm] r54648 - /llvm/trunk/test/CodeGen/X86/extractps.ll

Dan Gohman gohman at apple.com
Mon Aug 11 13:10:43 PDT 2008


Author: djg
Date: Mon Aug 11 15:10:41 2008
New Revision: 54648

URL: http://llvm.org/viewvc/llvm-project?rev=54648&view=rev
Log:
Improve the grep commands for this test to be tolerant of ABI
differences, and to be more specific.

Modified:
    llvm/trunk/test/CodeGen/X86/extractps.ll

Modified: llvm/trunk/test/CodeGen/X86/extractps.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/extractps.ll?rev=54648&r1=54647&r2=54648&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/extractps.ll (original)
+++ llvm/trunk/test/CodeGen/X86/extractps.ll Mon Aug 11 15:10:41 2008
@@ -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]





More information about the llvm-commits mailing list