Sign in
swiftshader
/
SwiftShader
/
81c28576d6e655ccf3ab037c2f36f2f3d7c206b8
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
FunctionAttrs
/
2008-09-03-ReadOnly.ll
blob: 22eca132041520020054a54fb6dcfbf2b1de27f4 [
file
] [
log
] [
blame
]
; RUN: opt < %s -basicaa -functionattrs -S | grep readonly | count 2
define
i32
@f
()
{
entry
:
%tmp
=
call
i32
@e
(
)
; <i32> [#uses=1]
ret
i32
%tmp
}
declare
i32
@e
()
readonly