CodeGen: Push the ModuleSlotTracker through Metadata
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 26 Jun 2015 22:28:47 +0000 (22:28 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 26 Jun 2015 22:28:47 +0000 (22:28 +0000)
commit6529ed40bc6657558e9c4ae606d6d57f6e37f836
tree68db5049c032a0c46ff83ef06b6cc17c1f3eaaf2
parent007561acdcbbd910dad9b3cc57234c13198389db
CodeGen: Push the ModuleSlotTracker through Metadata

For another 1% speedup on the testcase in PR23865, push the
`ModuleSlotTracker` through to metadata-related printing in
`MachineBasicBlock::print()`.

llvm-svn: 240848
llvm/include/llvm/IR/Metadata.h
llvm/include/llvm/IR/ModuleSlotTracker.h
llvm/lib/CodeGen/MachineInstr.cpp
llvm/lib/IR/AsmWriter.cpp