FileCheck-ize
authorChandler Carruth <chandlerc@gmail.com>
Sat, 2 Jul 2011 20:43:08 +0000 (20:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 2 Jul 2011 20:43:08 +0000 (20:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134351 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2006-11-12-CSRetCC.ll

index 91210ea90c69d2ed1dbe0d9da7ab1676d1dfbfbe..6ec9a488494a31bfdf5657ce0b894a47452f6c71 100644 (file)
@@ -1,9 +1,14 @@
-; RUN: llc < %s -march=x86 | grep {subl        \$4, %esp}
+; RUN: llc < %s -march=x86 | FileCheck %s
 
 target triple = "i686-pc-linux-gnu"
 @str = internal constant [9 x i8] c"%f+%f*i\0A\00"              ; <[9 x i8]*> [#uses=1]
 
 define i32 @main() {
+; CHECK: main:
+; CHECK-NOT: ret
+; CHECK: subl $4, %{{.*}}
+; CHECK: ret
+
 entry:
         %retval = alloca i32, align 4           ; <i32*> [#uses=1]
         %tmp = alloca { double, double }, align 16              ; <{ double, double }*> [#uses=4]