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-12-29-Constant.ll
blob
9655da45c646159e91b40bb4a5da1fd5032977f0
1
; RUN: opt < %s -basicaa -functionattrs -S | grep readnone
2
3
@s = external constant i8 ; <i8*> [#uses=1]
4
5
define i8 @f() {
6
%tmp = load i8* @s ; <i8> [#uses=1]
7
ret i8 %tmp
8
}