Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
FunctionAttrs
/
2010-10-30-volatile.ll
blob: cf3f0a328548f25d2cc48e9cf59ed44ff2fe2351 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=function-attrs -S | FileCheck %s
; PR8279
@g
=
constant
i32
1
; CHECK: Function Attrs
; CHECK-SAME: norecurse
; CHECK-NOT: readonly
; CHECK-NEXT: void @foo()
define
void
@foo
()
{
%tmp
=
load
volatile
i32
,
ptr
@g
ret
void
}