diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-02 23:04:06 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-02 23:04:06 +0000 |
| commit | 057f9b68dee906a3d22aa951c5a0c5351aa15228 (patch) | |
| tree | a75a1f22e9980fc3ea9a9e1dfb3c095dea9a17d4 /llvm/lib/CodeGen | |
| parent | aaa82ff9ad1d66e36ece8fb8f0440a71dc22262a (diff) | |
| download | bcm5719-llvm-057f9b68dee906a3d22aa951c5a0c5351aa15228.tar.gz bcm5719-llvm-057f9b68dee906a3d22aa951c5a0c5351aa15228.zip | |
Inform SpillPlacement about blocks with defs.
This information is not used for anything yet.
llvm-svn: 136741
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocGreedy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp index c88bb536fde..6f4eb5baab4 100644 --- a/llvm/lib/CodeGen/RegAllocGreedy.cpp +++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp @@ -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; |

