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:
98c8141
)
Fix a bug in determining if there is only a single interfering register.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Wed, 23 Feb 2011 00:29:55 +0000
(
00:29
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Wed, 23 Feb 2011 00:29:55 +0000
(
00:29
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126277
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 0146a276216cd8b5f57eb5a3511f08d74ffc9d49..59d4fc6180eb3edafd9dc3e2ee550232bb65fa0e 100644
(file)
--- a/
lib/CodeGen/RegAllocGreedy.cpp
+++ b/
lib/CodeGen/RegAllocGreedy.cpp
@@
-240,8
+240,7
@@
LiveInterval *RAGreedy::getSingleInterference(LiveInterval &VirtReg,
if (Q.checkInterference()) {
if (Interference)
return 0;
- Q.collectInterferingVRegs(1);
- if (!Q.seenAllInterferences())
+ if (Q.collectInterferingVRegs(2) > 1)
return 0;
Interference = Q.interferingVRegs().front();
}