llvm-project/llvm/test/CodeGen/X86/store-global-address.ll

10 lines
183 B
LLVM

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