forked from OSchip/llvm-project
Inform SpillPlacement about blocks with defs.
This information is not used for anything yet. llvm-svn: 136741
This commit is contained in:
parent
aaa82ff9ad
commit
057f9b68de
|
@ -676,6 +676,7 @@ bool RAGreedy::addSplitConstraints(InterferenceCache::Cursor Intf,
|
|||
Intf.moveToBlock(BC.Number);
|
||||
BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare;
|
||||
BC.Exit = BI.LiveOut ? SpillPlacement::PrefReg : SpillPlacement::DontCare;
|
||||
BC.ChangesValue = BI.FirstDef;
|
||||
|
||||
if (!Intf.hasInterference())
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue