repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
X86
/
GC
/
cg-O0.ll
blob
502bd9e31b0503a53fa6818fd0f4a1742b32e7fd
1
; RUN: llc -mtriple=x86_64 < %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 ptr
12
call void @llvm.gcroot(ptr %ptr.stackref, ptr null)
13
ret void
14
}
15
16
declare void @llvm.gcroot(ptr, ptr) nounwind