mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
bf0175cf8f
llvm-svn: 24544
10 lines
253 B
LLVM
10 lines
253 B
LLVM
; RUN: llvm-as < %s | opt -dse | llvm-dis | grep store
|
|
|
|
double %foo(sbyte* %X) {
|
|
%X_addr = alloca sbyte*
|
|
store sbyte* %X, sbyte** %X_addr ;; not a dead store.
|
|
%tmp.0 = va_arg sbyte** %X_addr, double
|
|
ret double %tmp.0
|
|
}
|
|
|