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
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
Transforms
/
DeadStoreElimination
/
2005-11-30-vaarg.ll
blob
58d67870879493b9920d80a3a20c6858f446d816
1
; RUN: llvm-as < %s | opt -dse | llvm-dis | grep store
2
3
define double @foo(i8* %X) {
4
%X_addr = alloca i8* ; <i8**> [#uses=2]
5
store i8* %X, i8** %X_addr
6
%tmp.0 = va_arg i8** %X_addr, double ; <double> [#uses=1]
7
ret double %tmp.0
8
}
9