Revert "Replace a big gob of old coalescer logic with the new CoalescerPair class."
[oota-llvm.git] / test / CodeGen / ARM / arguments.ll
1 ; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=ELF
2 ; RUN: llc < %s -mtriple=arm-apple-darwin  | FileCheck %s -check-prefix=DARWIN
3
4 define i32 @f(i32 %a, i64 %b) {
5 ; ELF: mov r0, r2
6 ; DARWIN: mov r0, r1
7         %tmp = call i32 @g(i64 %b)
8         ret i32 %tmp
9 }
10
11 declare i32 @g(i64)