llvm-6502/test/CodeGen/X86/store-global-address.ll
2007-08-15 13:36:28 +00:00

10 lines
176 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep movl | count 1
%dst = global int 0
%ptr = global int* null
void %test() {
store int* %dst, int** %ptr
ret void
}