Debian Codegraph @

llvm/test/CodeGen/PowerPC/reg-names.ll

raw
1 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s
2 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -ppc-asm-full-reg-names < %s | FileCheck -check-prefix=CHECK-FN %s
3 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-ibm-aix-xcoff -ppc-asm-full-reg-names < %s | FileCheck -check-prefix=CHECK-FN %s
4 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -ppc-reg-with-percent-prefix < %s | FileCheck -check-prefix=CHECK-PN %s
5
6 define i64 @test1(i64 %a, i64 %b) {
7 ; CHECK-LABEL: @test1
8 ; CHECK-FN-LABEL: @test1
9
10 entry:
11 ret i64 %b
12
13 ; CHECK: mr 3, 4
14 ; CHECK-FN: mr r3, r4
15 ; CHECK-PN: mr %r3, %r4
16
17 ; CHECK: blr
18 ; CHECK-FN: blr
19 ; CHECK-PN: blr
20 }
21