mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 15:33:33 +00:00
12 lines
237 B
LLVM
12 lines
237 B
LLVM
|
; RUN: llvm-as < %s | opt -globalsmodref-aa -markmodref | 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
|
||
|
}
|