mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
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
|
||
|
}
|
||
|
|