blob: 0b03fc87dd11fd5aa46ba60674f4d1b60d363cd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
; RUN: opt < %s -basicaa -functionattrs -S | FileCheck %s
; CHECK: define i32 @f() readonly
define i32 @f() {
entry:
%tmp = call i32 @e( )
ret i32 %tmp
}
; CHECK: declare i32 @e() readonly
declare i32 @e() readonly
|