Hint the same PReg for both halves of a split

This commit is contained in:
Chris Fallin
2021-05-24 23:49:47 -07:00
parent 7cdcb2031e
commit ca5f24f6b7

View File

@@ -2872,7 +2872,7 @@ impl<'a, F: Function> Env<'a, F> {
self.allocation_queue
.insert(bundle, prio as usize, reg_hint);
self.allocation_queue
.insert(new_bundle, new_prio as usize, PReg::invalid());
.insert(new_bundle, new_prio as usize, reg_hint);
}
fn compute_requirement(&self, bundle: LiveBundleIndex) -> Requirement {