Handle register masks in LiveVariables.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 21 Jan 2012 00:58:53 +0000 (00:58 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 21 Jan 2012 00:58:53 +0000 (00:58 +0000)
commit8c47ad8c4708286bda9362f8089f84a3d7e41056
tree38b6f005c7a371526f0d17e9e6abc69678d82d20
parent93391348dc00b4078463515149eeb214796f553d
Handle register masks in LiveVariables.

A register mask operand kills any live physreg that isn't preserved.
Unlike an implicit-def operand, the clobbered physregs are never live
afterwards.

This means LiveVariables has to track a much smaller number of live
physregs, and it should spend much less time in addRegisterDead().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148609 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h
lib/CodeGen/LiveVariables.cpp