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:
2f1ab74
)
Verify that VNI kills are pointing to existing instructions.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 24 Jun 2010 15:56:59 +0000
(15:56 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 24 Jun 2010 15:56:59 +0000
(15:56 +0000)
In this case it is essential that the kill is real because the spiller will
decide to omit a spill if it thinks there is a later kill.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106751
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 7d23cd0c9dd33efcfb80a3e4a45d7dfd9d8fa883..6d072a4145f7b015ca57d389371c8dca71efa0fe 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-1284,6
+1284,7
@@
bool LiveIntervals::anyKillInMBBAfterIdx(const LiveInterval &li,
continue;
SlotIndex KillIdx = VNI->kills[j];
+ assert(getInstructionFromIndex(KillIdx) && "Dangling kill");
if (KillIdx > Idx && KillIdx <= End)
return true;
}