revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / Analysis / Andersens / modreftest2.ll
blob562c961e7d469cb90533c9c4f9372dd33f1fde44
1 ; RUN: opt < %s -anders-aa -gvn -S \
2 ; RUN: | not grep {ret i32 undef}
4 ;; From PR 2160
5 declare void @f(i32*)
7 define i32 @g() {
8 entry:
9       %tmp = alloca i32               ; <i32*> [#uses=2]
10         call void @f( i32* %tmp )
11         %tmp2 = load i32* %tmp          ; <i32> [#uses=1]
12         ret i32 %tmp2