mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 15:24:04 +00:00
Verify that VNI kills are pointing to existing instructions.
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. llvm-svn: 106751
This commit is contained in:
parent
04a3ec3771
commit
a65e246ecf
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user