1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

FileCheck-ize

llvm-svn: 134351
This commit is contained in:
Chandler Carruth 2011-07-02 20:43:08 +00:00
parent 01e8f9314e
commit 5de1d825e4

View 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]