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
[libc++] Add clang-21 to failing tests on Windows (#124955)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
FunctionAttrs
/
2010-10-30-volatile.ll
blob
cf3f0a328548f25d2cc48e9cf59ed44ff2fe2351
1
; RUN: opt < %s -passes=function-attrs -S | FileCheck %s
2
; PR8279
3
4
@g = constant i32 1
5
6
; CHECK: Function Attrs
7
; CHECK-SAME: norecurse
8
; CHECK-NOT: readonly
9
; CHECK-NEXT: void @foo()
10
define void @foo() {
11
%tmp = load volatile i32, ptr @g
12
ret void
13
}