summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/store-global-address.ll
blob: c933714ea611df092795b10eaa9c37231f15499f (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | 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
}