1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

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 4b62c6ea69
commit ffdbb7cc16

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;