mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
5753a34ebb
llvm-svn: 85207
12 lines
306 B
LLVM
12 lines
306 B
LLVM
; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=ELF
|
|
; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN
|
|
|
|
define i32 @f(i32 %a, i64 %b) {
|
|
; ELF: mov r0, r2
|
|
; DARWIN: mov r0, r1
|
|
%tmp = call i32 @g(i64 %b)
|
|
ret i32 %tmp
|
|
}
|
|
|
|
declare i32 @g(i64)
|