projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe62d92
)
Inform SpillPlacement about blocks with defs.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 2 Aug 2011 23:04:06 +0000
(23:04 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 2 Aug 2011 23:04:06 +0000
(23:04 +0000)
This information is not used for anything yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136741
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocGreedy.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocGreedy.cpp
b/lib/CodeGen/RegAllocGreedy.cpp
index c88bb536fdee55903091e729087459753e9d37a0..6f4eb5baab4bb8273dec19fdd66a3bc210eed4b8 100644
(file)
--- a/
lib/CodeGen/RegAllocGreedy.cpp
+++ b/
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;