Revert r265309 and r265312 because they caused some errors I need to investigate.
llvm-svn: 265317
This commit is contained in:
@@ -153,12 +153,3 @@ void RegAllocBase::allocatePhysRegs() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void RegAllocBase::postOptimization() {
|
||||
spiller().postOptimization();
|
||||
for (auto DeadInst : DeadRemats) {
|
||||
LIS->RemoveMachineInstrFromMaps(*DeadInst);
|
||||
DeadInst->eraseFromParent();
|
||||
}
|
||||
DeadRemats.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user