1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
2 ; RUN: grep -v {store.*,.*null} | not grep store
4 define void @test1(i32* %P) {
5 store i32 undef, i32* %P
6 store i32 123, i32* undef
7 store i32 124, i32* null
11 define void @test2(i32* %P) {
12 %X = load i32* %P ; <i32> [#uses=1]
13 %Y = add i32 %X, 0 ; <i32> [#uses=1]