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:
de67a51
)
Prevented reg0 from being added to MBB live-in set, which was causing issues
author
Lang Hames
<lhames@gmail.com>
Sun, 17 May 2009 23:50:36 +0000
(23:50 +0000)
committer
Lang Hames
<lhames@gmail.com>
Sun, 17 May 2009 23:50:36 +0000
(23:50 +0000)
for PostRAScheduler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71991
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocPBQP.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocPBQP.cpp
b/lib/CodeGen/RegAllocPBQP.cpp
index 9b2c92c13e505dcac8cb90180abceb4d78adf043..6bad2db44d1260c5c74b92c7a58e6fb5c53d3866 100644
(file)
--- a/
lib/CodeGen/RegAllocPBQP.cpp
+++ b/
lib/CodeGen/RegAllocPBQP.cpp
@@
-765,6
+765,11
@@
void PBQPRegAlloc::finalizeAlloc() const {
continue;
}
+ // Ignore unallocated vregs:
+ if (reg == 0) {
+ continue;
+ }
+
// Iterate over the ranges of the current interval...
for (LRIterator lrItr = li->begin(), lrEnd = li->end();
lrItr != lrEnd; ++lrItr) {