llvm.org GIT mirror llvm / release_27 test / CodeGen / ARM / arguments.ll
release_27

Tree @release_27 (Download .tar.gz)

arguments.ll @release_27raw · history · blame

; 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)