2017-01-02 19:17:04 +00:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
2012-08-15 19:34:23 +00:00
|
|
|
; RUN: grep "addic 4, 4, 1"
|
2017-01-02 19:17:04 +00:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
|
2012-08-15 19:34:23 +00:00
|
|
|
; RUN: grep "addze 3, 3"
|
2009-06-02 17:52:33 +00:00
|
|
|
|
|
|
|
declare i64 @foo()
|
|
|
|
|
|
|
|
define i64 @bar()
|
|
|
|
{
|
|
|
|
%t = call i64 @foo()
|
|
|
|
%s = add i64 %t, 1
|
|
|
|
ret i64 %s
|
|
|
|
}
|