summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/store-load-fwd.ll
blob: 8ebd02b79fd71a3b1566c6d372c683b620a9b697 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc -march=ppc32 &&
; RUN: llvm-as < %s | llc -march=ppc32 | not grep lwz
int %test(int* %P) {
	store int 1, int* %P
	%V = load int* %P
	ret int %V
}