llvm.org GIT mirror llvm / release_20 test / CodeGen / X86 / store-global-address.ll
release_20

Tree @release_20 (Download .tar.gz)

store-global-address.ll @release_20raw · history · blame

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
}