Use getMBBEndIdx rather than assuming that the end is right after the last instructio...
authorOwen Anderson <resistor@mac.com>
Mon, 23 Jun 2008 22:12:23 +0000 (22:12 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 23 Jun 2008 22:12:23 +0000 (22:12 +0000)
commitb3db9c90d24682340f043a8151063128fe3b220b
treef9a2366bfb9c2fdce3ecca2dc27ce40ec5050940
parent73b43b9b549a75fb0015c825df68abd95705a67c
Use getMBBEndIdx rather than assuming that the end is right after the last instruction in the block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52649 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp