blob: 898ad7cb857d44b0f70983176b137755cd40a388 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +00002; RUN: grep "addc 4, 4, 6"
Dan Gohmanfce288f2009-09-09 00:09:15 +00003; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
Chandler Carruth4177e6f2012-07-02 12:47:22 +00004; RUN: grep "adde 3, 3, 5"
Dan Gohman6183f782007-07-05 20:12:34 +00005
6define i64 @foo(i64 %x, i64 %y) {
7 %z = add i64 %x, %y
8 ret i64 %z
9}