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:
3e22897
)
Don't crash when a value is defined after the last split point.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 5 Apr 2011 23:43:14 +0000
(23:43 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 5 Apr 2011 23:43:14 +0000
(23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128962
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SplitKit.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SplitKit.cpp
b/lib/CodeGen/SplitKit.cpp
index 4b642883d47aba39b787d18632c70cadbd1ba3ef..a3e065d1bd9a2cd279ac581fdb9952cb397776e5 100644
(file)
--- a/
lib/CodeGen/SplitKit.cpp
+++ b/
lib/CodeGen/SplitKit.cpp
@@
-673,7
+673,8
@@
void SplitEditor::overlapIntv(SlotIndex Start, SlotIndex End) {
"Range cannot span basic blocks");
// The complement interval will be extended as needed by extendRange().
- markComplexMapped(0, ParentVNI);
+ if (ParentVNI)
+ markComplexMapped(0, ParentVNI);
DEBUG(dbgs() << " overlapIntv [" << Start << ';' << End << "):");
RegAssign.insert(Start, End, OpenIdx);
DEBUG(dump());