Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / PowerPC / reg-names.ll
blob91cdb05ec9f7489ce02dfad8be039ae12b55b898
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
6 define i64 @test1(i64 %a, i64 %b) {
7 ; CHECK-LABEL: @test1
8 ; CHECK-FN-LABEL: @test1
10 entry:
11   ret i64 %b
13 ; CHECK: mr 3, 4
14 ; CHECK-FN: mr r3, r4
15 ; CHECK-PN: mr %r3, %r4
17 ; CHECK: blr
18 ; CHECK-FN: blr
19 ; CHECK-PN: blr