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)
commit74ab5eeffbd70f2387338e3ee8195be9f73e6dd8
tree69244a4a36283b0db2934bf3526a92ff6a44b9ae
parent87710f04e551655c0c98fb7c0bfd9ec58224a804
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