llvm-project/llvm/test/MC/PowerPC
Francis Visoiu Mistrih 25528d6de7 [CodeGen] Unify MBB reference format in both MIR and debug output
As part of the unification of the debug format and the MIR format, print
MBB references as '%bb.5'.

The MIR printer prints the IR name of a MBB only for block definitions.

* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)->getNumber\(\)/" << printMBBReference(*\1)/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)\.getNumber\(\)/" << printMBBReference(\1)/g'
* find . \( -name "*.txt" -o -name "*.s" -o -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#([0-9]+)/%bb.\1/g'
* grep -nr 'BB#' and fix

Differential Revision: https://reviews.llvm.org/D40422

llvm-svn: 319665
2017-12-04 17:18:51 +00:00
..
dcbt.s
deprecated-p7.s
directive-parse-err.s
htm.s
lcomm.s
lit.local.cfg
ppc-llong.s
ppc-machine.s
ppc-nop.s
ppc-reloc.s
ppc-separator.s PowerPC: support the separator character in the IAS 2017-10-24 16:19:56 +00:00
ppc-word.s
ppc32-ba.s
ppc64-abiversion.s
ppc64-encoding-4xx.s
ppc64-encoding-6xx.s
ppc64-encoding-bookII.s
ppc64-encoding-bookIII.s Add some Book-E instructions to the asm parser and printer. 2017-01-29 04:55:57 +00:00
ppc64-encoding-e500.s
ppc64-encoding-ext.s
ppc64-encoding-fp.s [Power9] Add new instructions for floating point status and control registers. 2017-08-28 18:46:01 +00:00
ppc64-encoding-p8vector.s
ppc64-encoding-spe.s
ppc64-encoding-vmx.s [PowerPC][Altivec] Add vnot extended mnemonic 2017-02-07 18:57:29 +00:00
ppc64-encoding.s [Power9] Add missing Power9 instructions. 2017-09-19 15:22:36 +00:00
ppc64-errors.s
ppc64-fixup-apply.s
ppc64-fixup-explicit.s
ppc64-fixups.s
ppc64-initial-cfa.s
ppc64-localentry-error1.s
ppc64-localentry-error2.s
ppc64-localentry.s
ppc64-operands.s
ppc64-regs.s
ppc64-relocs-01.s
ppc64-tls-relocs-01.s
pr24686.s
qpx.s
st-other-crash.s
tls-gd-obj.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
tls-ie-obj.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
tls-ld-obj.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
vsx.s [PowerPC][Altivec] Add mfvrd and mffprd extended mnemonic 2017-03-15 16:04:53 +00:00