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