mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
2984a1dfcb
llvm-svn: 145678
14 lines
270 B
LLVM
14 lines
270 B
LLVM
; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
|
|
|
|
declare void @bar(i64 %x, i64 %y)
|
|
|
|
; CHECK: li {{[53]}}, 0
|
|
; CHECK: li 4, 2
|
|
; CHECK: li 6, 3
|
|
; CHECK: mr {{[53]}}, {{[53]}}
|
|
|
|
define void @foo() {
|
|
call void @bar(i64 2, i64 3)
|
|
ret void
|
|
}
|