repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
X86
/
GC
/
deadargelim.ll
blob
176019020ad4fe77c54f961bb987c89c70846a8c
1
; RUN: opt < %s -deadargelim
2
3
declare void @llvm.gcroot(i8**, i8*)
4
5
define void @g() {
6
entry:
7
call void @f(i32 0)
8
ret void
9
}
10
11
define internal void @f(i32 %unused) gc "example" {
12
entry:
13
%var = alloca i8*
14
call void @llvm.gcroot(i8** %var, i8* null)
15
ret void
16
}