mirror of
https://github.com/jeremysrand/llvm-65816.git
synced 2024-11-17 16:07:00 +00:00
11 lines
173 B
LLVM
11 lines
173 B
LLVM
; RUN: llc < %s
|
|
define i32 @foo(i32 %x) {
|
|
ret i32 %x
|
|
}
|
|
|
|
define i32 @main() {
|
|
%r = call i32 @foo( i32 0 ) ; <i32> [#uses=1]
|
|
ret i32 %r
|
|
}
|
|
|