mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Testcase for PR2160.
llvm-svn: 48655
This commit is contained in:
parent
32a6116ffd
commit
8e40ac013e
12
test/Analysis/Andersens/2008-03-19-External.ll
Normal file
12
test/Analysis/Andersens/2008-03-19-External.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: llvm-as < %s | opt -anders-aa -gvn | llvm-dis | not grep undef
|
||||
; PR2160
|
||||
|
||||
declare void @f(i32*)
|
||||
|
||||
define i32 @g() {
|
||||
entry:
|
||||
%tmp = alloca i32 ; <i32*> [#uses=2]
|
||||
call void @f( i32* %tmp )
|
||||
%tmp2 = load i32* %tmp ; <i32> [#uses=1]
|
||||
ret i32 %tmp2
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user