diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-06-26 22:04:20 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-06-26 22:04:20 +0000 |
| commit | 3269215401427b28457128b1833e15d21dd70257 (patch) | |
| tree | 8ec3ea69a6878711210110ed76b414fcc46c16b3 /llvm/lib/CodeGen/DwarfEHPrepare.cpp | |
| parent | 4694ed0a1456d30c8eacd56d024afabe53cfd0f8 (diff) | |
| download | bcm5719-llvm-3269215401427b28457128b1833e15d21dd70257.tar.gz bcm5719-llvm-3269215401427b28457128b1833e15d21dd70257.zip | |
CodeGen: Use a single SlotTracker in MachineFunction::print()
Expose enough of the IR-level `SlotTracker` so that
`MachineFunction::print()` can use a single one for printing
`BasicBlock`s. Next step would be to lift this through a few more APIs
so that we can make other print methods faster.
Fixes PR23865, changing the runtime of `llc -print-machineinstrs` from
many minutes (killed after 3 minutes, but it wasn't very close) to
13 seconds for a 502185 line dump.
llvm-svn: 240842
Diffstat (limited to 'llvm/lib/CodeGen/DwarfEHPrepare.cpp')
0 files changed, 0 insertions, 0 deletions

