Home | History | Annotate | Download | only in GC
      1 ; RUN: opt < %s -deadargelim
      2 
      3 declare void @llvm.gcroot(i8**, i8*)
      4 
      5 define void @g() {
      6 entry:
      7 	call void @f(i32 0)
      8 	ret void
      9 }
     10 
     11 define internal void @f(i32 %unused) gc "example" {
     12 entry:
     13 	%var = alloca i8*
     14 	call void @llvm.gcroot(i8** %var, i8* null)
     15 	ret void
     16 }
     17