Track liveness of unallocatable, unreserved registers in machine DCE.
commitd9e1fc71d8d656e3eb8aa1cc4765ba09d5392fd2
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Aug 2010 21:51:05 +0000 (31 21:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Aug 2010 21:51:05 +0000 (31 21:51 +0000)
tree2736c43a554d4f5927a32a89e91e30bfd446c253
parent2fda9b3dc7777d8c821bdd99d187598192abaa96
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