Fix assertions in updateRegMaskSlots().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 9 Nov 2012 19:18:49 +0000 (19:18 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 9 Nov 2012 19:18:49 +0000 (19:18 +0000)
commit13d556296333359bcdd4ec17d6e514ab06f55d61
treeed01b7c81ccfbbcb2ddf1c4b91537a5b0c118532
parentc93b074bda3fe4b2e92553437e638f103bc4e0d9
Fix assertions in updateRegMaskSlots().

The RegMaskSlots contains 'r' slots while NewIdx and OldIdx are 'B'
slots. This broke the checks in the assertions.

This fixes PR14302.

llvm-svn: 167625
llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
llvm/test/CodeGen/PowerPC/misched.ll [new file with mode: 0644]