repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Handle logical shift right (at least I hope so :) )
[llvm/msp430.git]
/
test
/
CodeGen
/
Generic
/
GC
/
deadargelim.ll
blob
c5a56f600dd0ee80c5ae775359fe6494b14d6edc
1
; RUN: llvm-as < %s | opt -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
}