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