aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/store-global-address.ll
blob: 00ae2c9404caf732907fae0f639fa440f543c57b (plain)
1
2
3
4
5
6
7
8
9
; 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
}