mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
f37812e906
This is far from complete, but it is enough to make it possible to write test cases using i64 arguments. Missing features: - Floating point arguments. - Receiving arguments on the stack. - Calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178523 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
138 B
LLVM
8 lines
138 B
LLVM
; RUN: llc < %s -march=sparcv9 | FileCheck %s
|
|
|
|
; CHECK: ret2:
|
|
; CHECK: or %g0, %i1, %i0
|
|
define i64 @ret2(i64 %a, i64 %b) {
|
|
ret i64 %b
|
|
}
|