mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-29 23:12:55 +01:00
18 lines
361 B
LLVM
18 lines
361 B
LLVM
|
; RUN: llc -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s
|
||
|
; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -ppc-asm-full-reg-names < %s | FileCheck -check-prefix=CHECK-FN %s
|
||
|
|
||
|
define i64 @test1(i64 %a, i64 %b) {
|
||
|
; CHECK-LABEL: @test1
|
||
|
; CHECK-FN-LABEL: @test1
|
||
|
|
||
|
entry:
|
||
|
ret i64 %b
|
||
|
|
||
|
; CHECK: mr 3, 4
|
||
|
; CHECK-FN: mr r3, r4
|
||
|
|
||
|
; CHECK: blr
|
||
|
; CHECK-FN: blr
|
||
|
}
|
||
|
|