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