llvm.org GIT mirror llvm / release_21 test / Analysis / BasicAA / 2004-07-28-MustAliasbug.llx
release_21

Tree @release_21 (Download .tar.gz)

2004-07-28-MustAliasbug.llx @release_21raw · history · blame

; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | grep {store i32 0}

void %test({int,int }* %P) {
	%Q = getelementptr {int,int}* %P, int 1
	%X = getelementptr {int,int}* %Q, int 0, uint 1
	%Y = getelementptr {int,int}* %Q, int 1, uint 1
	store int 0, int* %X
	store int 1, int* %Y
	ret void
}