projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[FunctionAttr] Infer nonnull attributes on returns
[oota-llvm.git]
/
test
/
Transforms
/
FunctionAttrs
/
2008-09-13-VolatileRead.ll
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 = load volatile i32, i32* @g ; <i32> [#uses=1]
8
ret i32 %t
9
}