2011-06-12 15:42:51 +00:00
|
|
|
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
|
2009-06-02 17:52:33 +00:00
|
|
|
|
|
|
|
declare void @bar(i64 %x, i64 %y)
|
|
|
|
|
2011-06-12 15:42:51 +00:00
|
|
|
; CHECK: li 4, 2
|
|
|
|
; CHECK: li {{[53]}}, 0
|
|
|
|
; CHECK: li 6, 3
|
|
|
|
; CHECK: mr {{[53]}}, {{[53]}}
|
|
|
|
|
2009-06-02 17:52:33 +00:00
|
|
|
define void @foo() {
|
|
|
|
call void @bar(i64 2, i64 3)
|
|
|
|
ret void
|
|
|
|
}
|