aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/AddReadAttrs/2008-09-03-Mutual.ll
blob: 0a4f0855ca41b8a867e8498c9050b000f227bf8a (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | opt -addreadattrs | llvm-dis | grep readnone

define i32 @a() {
	%tmp = call i32 @b( )		; <i32> [#uses=1]
	ret i32 %tmp
}

define i32 @b() {
	%tmp = call i32 @a( )		; <i32> [#uses=1]
	ret i32 %tmp
}