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)
commit8266df7f7f398e7b8f05fa61b01b31e8704d5a24
treed2552e9485e1b4d5ddabc57d53d93ad58d11e546
parentbb8cc2f850585968e5f2a5d544f904ca6647b043
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()`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240848 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Metadata.h
include/llvm/IR/ModuleSlotTracker.h
lib/CodeGen/MachineInstr.cpp
lib/IR/AsmWriter.cpp