summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/store.ll
blob: 6982e0deb0635aa215c8b51fe0d45aa9797e6f75 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep -v 'store.*,.*null' | not grep store


void %test1(int* %P) {
	store int undef, int* %P
	store int 123, int* undef
	store int 124, int* null
	ret void
}