repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
FunctionAttrs
/
2008-09-03-ReadOnly.ll
blob
22eca132041520020054a54fb6dcfbf2b1de27f4
1
; RUN: opt < %s -basicaa -functionattrs -S | grep readonly | count 2
2
3
define i32 @f() {
4
entry:
5
%tmp = call i32 @e( ) ; <i32> [#uses=1]
6
ret i32 %tmp
7
}
8
9
declare i32 @e() readonly