Track liveness of unallocatable, unreserved registers in machine DCE.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Aug 2010 21:51:05 +0000 (21:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Aug 2010 21:51:05 +0000 (21:51 +0000)
commitf14a648d80bcb45fa07db35f8f1f58e47111dc9e
tree2736c43a554d4f5927a32a89e91e30bfd446c253
parent7ff30bb1a5b04e52a0b2a3a2cb961eb34a7dde56
Track liveness of unallocatable, unreserved registers in machine DCE.

Reserved registers are unpredictable, and are treated as always live by machine
DCE.

Allocatable registers are never reserved, and can be used for virtual registers.

Unreserved, unallocatable registers can not be used for virtual registers, but
otherwise behave like a normal allocatable register. Most targets only have
the flag register in this set.

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