Don't track kills in VNInfo. Use interval ends instead.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 25 Jun 2010 22:53:05 +0000 (22:53 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 25 Jun 2010 22:53:05 +0000 (22:53 +0000)
commit15a571436da812c7cecbc3f3423ead2edff50358
treeb2758ca96ce298ad1266f0727ecd35e02725cf3e
parent13151432edace19ee867a93b5c14573df4f75d24
Don't track kills in VNInfo. Use interval ends instead.

The VNInfo.kills vector was almost unused except for all the code keeping it
updated. The few places using it were easily rewritten to check for interval
ends instead.

The two new methods LiveInterval::killedAt and killedInRange are replacements.

This brings us down to 3 independent data structures tracking kills.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106905 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/PreAllocSplitting.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/Spiller.cpp
lib/CodeGen/StrongPHIElimination.cpp