blob: ad5b2d69fab92067c40e6e036907b52987774fbc [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -mtriple=arm-linux-gnueabi | \
Dan Gohman28beeea2007-08-15 13:36:28 +00002; RUN: grep {mov r0, r2} | count 1
Dan Gohmanfce288f2009-09-09 00:09:15 +00003; RUN: llc < %s -mtriple=arm-apple-darwin | \
Dan Gohman28beeea2007-08-15 13:36:28 +00004; RUN: grep {mov r0, r1} | count 1
Lauro Ramos Venancio876eaf12007-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 Spencereb1d74e2007-04-16 17:36:08 +000011declare i32 @g(i64)