Commit 59ac055c authored by Konrad Trifunovic's avatar Konrad Trifunovic Committed by gbsbuild

Fix the eviction of a congruence class in the case a complete eviction is requested

Change-Id: Ib79788b8a6fc52cb17eb9c6d07eff57a6598191d
parent d186e522
......@@ -727,6 +727,14 @@ void CoalescingEngine::PrepareInsertionSlot(
NewParent = ImmediateDominatingParent[NewParent];
//it might turn out, that rootNode does not dominate 'inst'
//since it is in another branch of DT
//do not forget to delete it as well
if (getRegRoot(RootNode->value)) {
} else {
//Evict dominating parent from CC.
Value* NewParent = GetActualDominatingParent(RootNode->value, inst);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment