1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/AsmParser
Francis Visoiu Mistrih 30264d4391 [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
..
AArch64 [AsmParser] Recommit: Hash is not a comment on some targets 2017-08-21 09:58:37 +00:00
Inputs [MC] - llvm-mc hangs on non-english characters. 2017-10-05 08:15:55 +00:00
align_invalid.s
altmacro_expression.s Fix test for altmacro 2017-05-01 14:00:54 +00:00
altmacro_string_escape.s [LLVM][inline-asm] Altmacro string escape character '!' 2017-05-10 13:08:11 +00:00
altmacro_string.s [LLVM][inline-asm][Altmacor] Altmacro string delimiter '<..>' 2017-05-04 10:37:00 +00:00
assignment.s
at-pseudo-variable-bad.s
at-pseudo-variable.s
bad-macro.s
cfi-unfinished-frame.s
cfi-unknown-register.s [MC] Handle unknown literal register numbers in .cfi_* directives 2017-12-01 21:44:27 +00:00
cfi-window-save.s
comments-x86-darwin.s
conditional_asm.s
dash-n.s
defsym_error1.s
defsym_error2.s
defsym.s
directive_abort.s
directive_align.s [AsmParser][GAS-compatibility] Ignore an empty 'p2align' directive 2017-08-02 17:36:10 +00:00
directive_ascii.s
directive_comm.s
directive_darwin_section.s
directive_dc.s
directive_dcb.s
directive_desc.s
directive_ds.s
directive_elf_size.s
directive_end-2.s
directive_end.s
directive_file-2.s
directive_file.s
directive_fill.s
directive_incbin.s
directive_include.s
directive_lcomm.s
directive_line.s
directive_loc.s
directive_lsym.s
directive_org.s
directive_print.s [AsmParser] Support GAS's .print directive 2017-10-02 14:36:31 +00:00
directive_rept-diagnostics.s
directive_rept.s
directive_seh.s
directive_set.s
directive_space.s
directive_subsections_via_symbols.s
directive_symbol_attrs.s
directive_tbss.s
directive_tdata.s
directive_thread_init_func.s
directive_tlv.s
directive_values.s
directive_zerofill.s
directive-err-diagnostics.s
directive-err.s
directive-warning.s
dollars-in-identifiers.s
dot-symbol-assignment-backwards.s
dot-symbol-assignment.s
dot-symbol-non-absolute.s
dot-symbol.s
empty-comment.s [MC] Fix compiler crash in AsmParser::Lex 2017-06-09 14:04:03 +00:00
equ.s
expr_symbol_modifiers.s
expr-shr.s
exprs-invalid.s
exprs.s
extern.s
floating-literals.s
hash-directive.s
hello.s
if-diagnostics.s
ifb.s
ifc.s
ifdef.s
ifeqs-diagnostics.s
ifeqs.s
ifndef.s
ifnes.s
incbin_abcd
include.ll
inline-comments.ll
invalid-asm-variant.s
invalid-input-assertion.s
labels.s
line_with_hash.s
lit.local.cfg
macro_parsing.s
macro-args.s
macro-def-in-instantiation.s
macro-duplicate-params-names-err.s [AsmParser]Emit an error if a macro has two (or more) parameters sharing the same name 2017-04-08 20:29:03 +00:00
macro-err1.s
macro-exitm.s
macro-irp.s
macro-irpc.s
macro-max-depth.s
macro-qualifier-diagnostics.s
macro-qualifier.s
macro-rept-err1.s
macro-rept-err2.s
macro-rept.s
macros-argument-parsing-diagnostics.s
macros-argument-parsing.s
macros-darwin-vararg.s
macros-darwin.s
macros-gas.s
macros-parsing.s
negativ_altmacro_expression.s fix trivial typo in comment, NFC 2017-06-26 06:32:04 +00:00
negative_altmacro_string.s [LLVM][inline-asm][Altmacor] Altmacro string delimiter '<..>' 2017-05-04 10:37:00 +00:00
non-english-characters.s [MC] - llvm-mc hangs on non-english characters. 2017-10-05 08:15:55 +00:00
pr11865.s
pr28805.ll
pr28921.s
preserve-comments-crlf.s [MC] Fix regression tests on Windows when git “core.autocrlf” is set to true. 2017-11-17 21:59:43 +00:00
preserve-comments.s
purgem.s
reassign.s
rename.s
section_names.s Add default typo to .tbss.* 2017-03-22 14:04:19 +00:00
section.s
secure_log_unique.s
seh-directive-errors.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
seh-unfinished-frame.s [MC] Suppress .Lcfi labels when emitting textual assembly 2017-10-10 00:57:36 +00:00
undefined-local-symbol.s
uppercase-hex.s
vararg-default-value.s
vararg.s
variables-invalid.s
variables.s