repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
GC
/
outside.ll
blob
2968c6917ce14686f33ef89a00c77e5fbe7fa7ef
1
; RUN: not llvm-as < %s >& /dev/null
2
3
declare void @llvm.gcroot(i8**, i8*)
4
5
define void @f(i8* %x) {
6
%root = alloca i8*
7
call void @llvm.gcroot(i8** %root, i8* null)
8
store i8* %x, i8** %root
9
ret void
10
}