Sign in
llvm
/
llvm
/
refs/heads/release_26
/
.
/
test
/
Transforms
/
FunctionAttrs
/
2008-09-03-ReadOnly.ll
blob: cebfdacb4c0c4ec32cf285a5733a6551ef2b7c11 [
file
] [
edit
]
; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readonly | count 2
define
i32
@f
()
{
entry
:
%tmp
=
call
i32
@e
(
)
; <i32> [#uses=1]
ret
i32
%tmp
}
declare
i32
@e
()
readonly