blob: ad5b2d69fab92067c40e6e036907b52987774fbc [file] [log] [blame]
Dan Gohmanc8054d92009-09-09 00:09:15 +00001; RUN: llc < %s -mtriple=arm-linux-gnueabi | \
Dan Gohmanf9dd1702007-08-15 13:36:28 +00002; RUN: grep {mov r0, r2} | count 1
Dan Gohmanc8054d92009-09-09 00:09:15 +00003; RUN: llc < %s -mtriple=arm-apple-darwin | \
Dan Gohmanf9dd1702007-08-15 13:36:28 +00004; RUN: grep {mov r0, r1} | count 1
Lauro Ramos Venancio603f2012007-02-13 14:07:13 +00005
6define i32 @f(i32 %a, i64 %b) {
7 %tmp = call i32 @g(i64 %b)
8 ret i32 %tmp
9}
10
Reid Spencer6e87ec42007-04-16 17:36:08 +000011declare i32 @g(i64)