Make RAFast::UsedInInstr indexed by register units.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 21 Feb 2013 19:35:21 +0000 (19:35 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 21 Feb 2013 19:35:21 +0000 (19:35 +0000)
commit601158a18e325879b224bd1979d824407ed98bc7
tree2c1fbf778b42e97d322a074026fcc9b0b9092ea5
parentb300455b5817f099d64aad8f9356e0e23fa9a87e
Make RAFast::UsedInInstr indexed by register units.

This fixes some problems with too conservative checking where we were
marking all aliases of a register as used, and then also checking all
aliases when allocating a register.

<rdar://problem/13249625>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175782 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineRegisterInfo.h
lib/CodeGen/RegAllocFast.cpp
test/CodeGen/Thumb2/crash.ll