[llvm-commits] [llvm] r81267 - /llvm/trunk/test/CodeGen/X86/dollar-name.ll

Chris Lattner sabre at nondot.org
Tue Sep 8 16:16:27 PDT 2009


Author: lattner
Date: Tue Sep  8 18:16:26 2009
New Revision: 81267

URL: http://llvm.org/viewvc/llvm-project?rev=81267&view=rev
Log:
convert to filecheck syntax

Modified:
    llvm/trunk/test/CodeGen/X86/dollar-name.ll

Modified: llvm/trunk/test/CodeGen/X86/dollar-name.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dollar-name.ll?rev=81267&r1=81266&r2=81267&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/dollar-name.ll (original)
+++ llvm/trunk/test/CodeGen/X86/dollar-name.ll Tue Sep  8 18:16:26 2009
@@ -1,12 +1,13 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$bar)} | count 1
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$qux)} | count 1
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$hen)} | count 1
+; RUN: llc < %s -march=x86 -mtriple=i386-linux | FileCheck %s
 ; PR1339
 
 @"$bar" = global i32 zeroinitializer
 @"$qux" = external global i32
 
 define i32 @"$foo"() nounwind {
+; CHECK: movl	($bar),
+; CHECK: addl	($qux),
+; CHECK: call	($hen)
   %m = load i32* @"$bar"
   %n = load i32* @"$qux"
   %t = add i32 %m, %n





More information about the llvm-commits mailing list