forked from OSchip/llvm-project
25528d6de7
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 |
||
---|---|---|
.. | ||
Inputs | ||
COFF_i386.s | ||
COFF_x86_64.s | ||
ELF-relaxed.s | ||
ELF_STT_FILE.s | ||
ELF_x64-64_PC8_relocations.s | ||
ELF_x64-64_PIC_relocations.s | ||
ELF_x86-64_PIC-small-relocations.s | ||
ELF_x86-64_debug_frame.s | ||
ELF_x86-64_none.yaml | ||
ELF_x86_64_StubBuf.s | ||
MachO_empty_ehframe.s | ||
MachO_i386_DynNoPIC_relocations.s | ||
MachO_i386_eh_frame.s | ||
MachO_x86-64_PIC_relocations.s | ||
coff-alignment.ll | ||
lit.local.cfg |