repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
Transforms
/
FunctionAttrs
/
2008-09-13-VolatileRead.ll
blob
8212e8945ec6f1e0799b306fedf61b4c56420cf3
1
; RUN: opt < %s -functionattrs -S | FileCheck %s
2
; RUN: opt < %s -passes=function-attrs -S | FileCheck %s
3
; PR2792
4
5
@g = global i32 0 ; <i32*> [#uses=1]
6
7
define i32 @f() {
8
%t = load volatile i32, i32* @g ; <i32> [#uses=1]
9
ret i32 %t
10
}
11
12
; CHECK-NOT: attributes #{{.*}} read