2016-08-04 02:17:35 +08:00
|
|
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s
|
|
|
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -ppc-asm-full-reg-names < %s | FileCheck -check-prefix=CHECK-FN %s
|
2013-11-11 22:58:40 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|