[PowerPC] Enable printing instructions using aliases
authorHal Finkel <hfinkel@anl.gov>
Thu, 23 Apr 2015 18:30:38 +0000 (18:30 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 23 Apr 2015 18:30:38 +0000 (18:30 +0000)
commit184f8f7c10b35e56900aeee4ea3dcf12a25a8994
tree071dbd984d11200e2d89a472e7fbf5065570e087
parent45e7e93c6f04c9a59bafcbca3da0d6925fd7db71
[PowerPC] Enable printing instructions using aliases

TableGen had been nicely generating code to print a number of instructions using
shorter aliases (and PowerPC has plenty of short mnemonics), but we were not
calling it. For some of the aliases we support in the parser, TableGen can't
infer the "inverse" alias relationship, so there is still more to do.

Thus, after some hours of updating test cases...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235616 91177308-0d34-0410-b5e6-96231b3b80d8
55 files changed:
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h
test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll
test/CodeGen/PowerPC/2010-02-12-saveCR.ll
test/CodeGen/PowerPC/anon_aggr.ll
test/CodeGen/PowerPC/asm-constraints.ll
test/CodeGen/PowerPC/atomic-2.ll
test/CodeGen/PowerPC/atomics-fences.ll
test/CodeGen/PowerPC/atomics-indexed.ll
test/CodeGen/PowerPC/atomics.ll
test/CodeGen/PowerPC/bperm.ll
test/CodeGen/PowerPC/cmpb-ppc32.ll
test/CodeGen/PowerPC/cmpb.ll
test/CodeGen/PowerPC/compare-simm.ll
test/CodeGen/PowerPC/crbit-asm.ll
test/CodeGen/PowerPC/crbits.ll
test/CodeGen/PowerPC/cttz.ll
test/CodeGen/PowerPC/fast-isel-cmp-imm.ll
test/CodeGen/PowerPC/fast-isel-conversion.ll
test/CodeGen/PowerPC/fast-isel-ext.ll
test/CodeGen/PowerPC/i64_fp_round.ll
test/CodeGen/PowerPC/long-compare.ll
test/CodeGen/PowerPC/ppc32-cyclecounter.ll
test/CodeGen/PowerPC/ppc64-zext.ll
test/CodeGen/PowerPC/rlwimi-and.ll
test/CodeGen/PowerPC/rotl-2.ll
test/CodeGen/PowerPC/rotl-64.ll
test/CodeGen/PowerPC/rotl.ll
test/CodeGen/PowerPC/sdag-ppcf128.ll
test/CodeGen/PowerPC/seteq-0.ll
test/CodeGen/PowerPC/stack-realign.ll
test/CodeGen/PowerPC/subreg-postra-2.ll
test/CodeGen/PowerPC/subreg-postra.ll
test/CodeGen/PowerPC/vsx-ldst-builtin-le.ll
test/CodeGen/PowerPC/vsx-ldst.ll
test/CodeGen/PowerPC/vsx.ll
test/CodeGen/PowerPC/vsx_insert_extract_le.ll
test/CodeGen/PowerPC/vsx_shuffle_le.ll
test/MC/Disassembler/PowerPC/ppc64-encoding-4xx.txt
test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt
test/MC/Disassembler/PowerPC/ppc64-encoding-bookIII.txt
test/MC/Disassembler/PowerPC/ppc64-encoding-ext.txt
test/MC/Disassembler/PowerPC/ppc64-encoding.txt
test/MC/Disassembler/PowerPC/ppc64-operands.txt
test/MC/Disassembler/PowerPC/qpx.txt
test/MC/Disassembler/PowerPC/vsx.txt
test/MC/PowerPC/ppc64-encoding-4xx.s
test/MC/PowerPC/ppc64-encoding-6xx.s
test/MC/PowerPC/ppc64-encoding-bookII.s
test/MC/PowerPC/ppc64-encoding-bookIII.s
test/MC/PowerPC/ppc64-encoding-ext.s
test/MC/PowerPC/ppc64-encoding-fp.s
test/MC/PowerPC/ppc64-encoding.s
test/MC/PowerPC/qpx.s
test/MC/PowerPC/vsx.s