Avoid creating a redundant zero APInt.
[oota-llvm.git] / test / CodeGen / Generic / GC / frame_size.ll
1 ; RUN: llvm-as < %s | llc -asm-verbose | grep {frame size} | grep -v 0x0
2
3 declare void @llvm.gcroot(i8** %value, i8* %tag)
4 declare void @g() gc "ocaml"
5
6 define void @f(i8* %arg.0, void()* %arg.1) gc "ocaml" {
7 entry:
8         %gcroot.0 = alloca i8*
9         call void @llvm.gcroot(i8** %gcroot.0, i8* null)
10         store i8* %arg.0, i8** %gcroot.0
11         call void @g()
12         call void %arg.1()
13         ret void
14 }