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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
X86
/
GC
/
lower_gcroot.ll
blob
73c596f4bed48430c33f2bf548effc491b16ef31
1
; RUN: llc -mtriple=x86_64 < %s
2
3
%Env = type ptr
4
5
define void @.main(%Env) gc "shadow-stack" {
6
%Root = alloca %Env
7
call void @llvm.gcroot( ptr %Root, %Env null )
8
unreachable
9
}
10
11
declare void @llvm.gcroot(ptr, %Env)