blob: e46e1ec8d775fa551552855413a75030f3e826e5 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; RUN: grep {li 6, 3}
Dan Gohmanda594cf2009-09-09 00:09:15 +00003; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004; RUN: grep {li 4, 2}
Dan Gohmanda594cf2009-09-09 00:09:15 +00005; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006; RUN: grep {li 3, 0}
Dan Gohmanda594cf2009-09-09 00:09:15 +00007; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008; RUN: grep {mr 5, 3}
9
10declare void @bar(i64 %x, i64 %y)
11
12define void @foo() {
13 call void @bar(i64 2, i64 3)
14 ret void
15}