blob: b286ada83900ed18ba0aa643fbd02a75559cec03 (
plain)
1
2
3
4
5
6
7
8
9
|
; RUN: llvm-as < %s | opt -globalsmodref-aa -markmodref | llvm-dis | grep readnone | count 2
define i32 @f() {
entry:
%tmp = call i32 @e( ) ; <i32> [#uses=1]
ret i32 %tmp
}
declare i32 @e() readnone
|