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 in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
GC
/
lower_gcroot.ll
blob
c2d418ac50ef58f9683d383feda0e300385914d2
1
; RUN: llc < %s
2
3
%Env = type i8*
4
5
define void @.main(%Env) gc "shadow-stack" {
6
%Root = alloca %Env
7
call void @llvm.gcroot( %Env* %Root, %Env null )
8
unreachable
9
}
10
11
declare void @llvm.gcroot(%Env*, %Env)