CodeGen: Create a proper ModuleSlotTracker for MachineInstr
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 26 Jun 2015 23:18:44 +0000 (23:18 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 26 Jun 2015 23:18:44 +0000 (23:18 +0000)
commitc03745260e07707684ea8af21845883c3bbd0c20
tree316561964cd049fbed10df3aab8be81a9e327fe2
parent5d6108e4ed5c80a52bb66d4cb870eb5d1477c572
CodeGen: Create a proper ModuleSlotTracker for MachineInstr

Another follow-up related to r240848: try a little harder to share slot
tracking calculations within a single `MachineInstr` dump.  This is
unrelated to `MachineFunction::print()`, since that should be passing
through the function's `ModuleSlotTracker` by now, but could affect the
speed of dumping from a debugger if there is more than one IR-level
operand.

llvm-svn: 240852
llvm/lib/CodeGen/MachineInstr.cpp