2017-01-02 19:17:04 +00: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
|
2017-12-18 20:10:56 +00:00
|
|
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -ppc-reg-with-percent-prefix < %s | FileCheck -check-prefix=CHECK-PN %s
|
2013-12-22 00:04:03 +00: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
|
2017-12-18 20:10:56 +00:00
|
|
|
; CHECK-PN: mr %r3, %r4
|
2013-12-22 00:04:03 +00:00
|
|
|
|
|
|
|
; CHECK: blr
|
|
|
|
; CHECK-FN: blr
|
2017-12-18 20:10:56 +00:00
|
|
|
; CHECK-PN: blr
|
2013-12-22 00:04:03 +00:00
|
|
|
}
|
|
|
|
|