Number SlotIndexes uniformly without looking at the number of defs on each instruction.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Mar 2011 18:51:09 +0000 (18:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Mar 2011 18:51:09 +0000 (18:51 +0000)
commitf0cf2d357cf5540f21400e330028045e65e60835
tree6ee1182cb94acefe7a99c44a47d56be044a6c5b5
parentbee41501fae5414070a2797e853da15ea29b92a8
Number SlotIndexes uniformly without looking at the number of defs on each instruction.

You can't really predict how many indexes will be needed from the number of
defs, so let's keep it simple.

Also remove an extra empty index that was inserted after each basic block. It
was intended for live-out ranges, but it was never used that way.

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