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)
commit722c9a7925d1a66569513a1894fdd230962fa3f9
treec7891c4266554b19b951bc4c314cd4252459652e
parentb3235b128f383559a7a9b9119896e406b347879c
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167625 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
test/CodeGen/PowerPC/misched.ll [new file with mode: 0644]