repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
FunctionAttrs
/
2008-09-13-VolatileRead.ll
blob
28ac6ba3d1d1431101a50f65077f0e831957a89b
1
; RUN: opt < %s -passes=function-attrs -S | FileCheck %s
2
; PR2792
3
4
@g = global i32 0 ; <ptr> [#uses=1]
5
6
define i32 @f() {
7
%t = load volatile i32, ptr @g ; <i32> [#uses=1]
8
ret i32 %t
9
}
10
11
; CHECK-NOT: attributes #{{.*}} read