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-13-VolatileRead.ll
blob
85df09ebd7fe4dcc89729915d7184d736fedf4e8
1
; RUN: opt < %s -functionattrs -S | not grep read
2
; PR2792
3
4
@g = global i32 0 ; <i32*> [#uses=1]
5
6
define i32 @f() {
7
%t = volatile load i32* @g ; <i32> [#uses=1]
8
ret i32 %t
9
}