22 lines · plain
1; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s2; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -ppc-asm-full-reg-names < %s | FileCheck -check-prefix=CHECK-FN %s3; RUN: llc -verify-machineinstrs -mtriple=powerpc64-ibm-aix-xcoff -ppc-asm-full-reg-names < %s | FileCheck -check-prefix=CHECK-FN %s4; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -ppc-reg-with-percent-prefix < %s | FileCheck -check-prefix=CHECK-PN %s5 6define i64 @test1(i64 %a, i64 %b) {7; CHECK-LABEL: @test18; CHECK-FN-LABEL: @test19 10entry:11 ret i64 %b12 13; CHECK: mr 3, 414; CHECK-FN: mr r3, r415; CHECK-PN: mr %r3, %r416 17; CHECK: blr18; CHECK-FN: blr19; CHECK-PN: blr20}21 22