Don't check liveness of unallocatable registers.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 29 Jul 2011 23:36:21 +0000 (23:36 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 29 Jul 2011 23:36:21 +0000 (23:36 +0000)
commiteeb57c7701ded683d660ed616966cfe7b1750337
treec57ad911ace88262e1a0e0d55e97ad52738c3af8
parent93e6f02759a9d98c0c0621540382074219aa374a
Don't check liveness of unallocatable registers.

This includes registers like EFLAGS and ST0-ST7. We don't check for
liveness issues in the verifier and scavenger because registers will
never be allocated from these classes.

While in SSA form, we do care about the liveness of unallocatable
unreserved registers. Liveness of EFLAGS and ST0 neds to be correct for
MachineDCE and MachineSinking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136541 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/RegisterScavenging.cpp
test/CodeGen/X86/vector.ll