[RegBankSelect] Remove a debug print of a potentially dead instruction.

For complex rewrittings, which do not occur currently, the related
machine instruction may have been deleted in the process. Therefore, do
not try to print it after the mapping is applied.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272209 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Quentin Colombet 2016-06-08 21:55:29 +00:00
parent dd694f3ed6
commit 1d9903f754

View File

@ -529,9 +529,9 @@ void RegBankSelect::assignInstr(MachineInstr &MI) {
DEBUG(dbgs() << "Mapping: " << BestMapping << '\n');
// After this call, MI may not be valid anymore.
// Do not use it.
applyMapping(MI, BestMapping, RepairPts);
DEBUG(dbgs() << "Assigned: " << MI);
}
bool RegBankSelect::runOnMachineFunction(MachineFunction &MF) {