OSDN Git Service

Do not track subregister liveness when it brings no benefits
authorMatthias Braun <matze@braunis.de>
Thu, 19 Mar 2015 00:21:58 +0000 (00:21 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 19 Mar 2015 00:21:58 +0000 (00:21 +0000)
commit5101c89f134092c7827ee6adc3689c9326134ad4
tree57abb66dcb90e62f0fd4d6da23d99732869319d5
parentcc690d62e3813d1bf6eb23cc350a52d23991f633
Do not track subregister liveness when it brings no benefits

Some subregisters are only to indicate different access sizes, while not
providing any way to actually divide the register up into multiple
disjunct parts. Avoid tracking subregister liveness in these cases as it
is not beneficial.

Differential Revision: http://reviews.llvm.org/D8429

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232695 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineRegisterInfo.h
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LiveRangeCalc.cpp
lib/CodeGen/LiveRangeCalc.h
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/RegisterCoalescer.cpp
lib/CodeGen/VirtRegMap.cpp
utils/TableGen/CodeGenRegisters.cpp
utils/TableGen/CodeGenRegisters.h
utils/TableGen/RegisterInfoEmitter.cpp