summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/reg-names.ll
blob: f8fa7e4020e9d6e028f073bd51c562f5b9a75fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; 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
}