comparison test/CodeGen/X86/GC/cg-O0.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children afa8332a0e37
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: llc < %s -O0
2
3 define i32 @main() {
4 entry:
5 call void @f()
6 ret i32 0
7 }
8
9 define void @f() gc "ocaml" {
10 entry:
11 %ptr.stackref = alloca i8*
12 %gcroot = bitcast i8** %ptr.stackref to i8**
13 call void @llvm.gcroot(i8** %gcroot, i8* null)
14 ret void
15 }
16
17 declare void @llvm.gcroot(i8**, i8*) nounwind