mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-01 09:26:22 +00:00
[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:
parent
dd694f3ed6
commit
1d9903f754
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user