OSDN Git Service

Changed slot index ranges for MachineBasicBlocks to be exclusive of endpoint.
authorLang Hames <lhames@gmail.com>
Tue, 22 Dec 2009 00:11:50 +0000 (00:11 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 22 Dec 2009 00:11:50 +0000 (00:11 +0000)
commitc560a2c7243d444b50609d862a0f0c6aca22a923
tree69244a4a36283b0db2934bf3526a92ff6a44b9ae
parent1a56f951ebaf80bdd9ff5a71fbd551d254135be5
Changed slot index ranges for MachineBasicBlocks to be exclusive of endpoint.
This fixes an in-place update bug where code inserted at the end of basic blocks may not be covered by existing intervals which were live across the entire block. It is also consistent with the way ranges are specified for live intervals.

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