Inform SpillPlacement about blocks with defs.

This information is not used for anything yet.

llvm-svn: 136741
This commit is contained in:
Jakob Stoklund Olesen 2011-08-02 23:04:06 +00:00
parent aaa82ff9ad
commit 057f9b68de
1 changed files with 1 additions and 0 deletions

View File

@ -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;