repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git]
/
test
/
Analysis
/
Andersens
/
modreftest2.ll
blob
562c961e7d469cb90533c9c4f9372dd33f1fde44
1
; RUN: opt < %s -anders-aa -gvn -S \
2
; RUN: | not grep {ret i32 undef}
3
4
;; From PR 2160
5
declare void @f(i32*)
6
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
13
}
14