summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2017-11-29 23:05:56 +0000
committerJoerg Sonnenberger <joerg@bec.de>2017-11-29 23:05:56 +0000
commit4b1acff9b3924a643791015eba08af57d91f81fa (patch)
tree92903a7ca7075337997bfe02d679dc95135ea71a /llvm/test
parentda8d83f9111eac706662b371196cb150fee37c92 (diff)
downloadbcm5719-llvm-4b1acff9b3924a643791015eba08af57d91f81fa.tar.gz
bcm5719-llvm-4b1acff9b3924a643791015eba08af57d91f81fa.zip
First step towards more human-friendly PPC assembler output:
- add -ppc-reg-with-percent-prefix option to use %r3 etc as register names - split off logic for Darwinish verbose conditional codes into a helper function - be explicit about Darwin vs AIX vs GNUish assembler flavors Based on the patch from Alexandre Yukio Yamashita Differential Revision: https://reviews.llvm.org/D39016 llvm-svn: 319381
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/PowerPC/reg-names.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/reg-names.ll b/llvm/test/CodeGen/PowerPC/reg-names.ll
index 0ad11312513..70c3b6087d4 100644
--- a/llvm/test/CodeGen/PowerPC/reg-names.ll
+++ b/llvm/test/CodeGen/PowerPC/reg-names.ll
@@ -1,5 +1,6 @@
; 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
+; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -ppc-reg-with-percent-prefix < %s | FileCheck -check-prefix=CHECK-PN %s
define i64 @test1(i64 %a, i64 %b) {
; CHECK-LABEL: @test1
@@ -10,8 +11,10 @@ entry:
; CHECK: mr 3, 4
; CHECK-FN: mr r3, r4
+; CHECK-PN: mr %r3, %r4
; CHECK: blr
; CHECK-FN: blr
+; CHECK-PN: blr
}
OpenPOWER on IntegriCloud