mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 23:50:50 +00:00
4572ce85b0
llvm-svn: 33296
10 lines
268 B
LLVM
10 lines
268 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | 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
|
|
}
|
|
|