aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-08-24 22:17:45 +0000
committerMatthias Braun <matze@braunis.de>2016-08-24 22:17:45 +0000
commitf1b20c52251af54413ca5b990db2b29d9418e256 (patch)
tree96d10ad56be92728945892ae5f53b5ca9113f18f /llvm/lib/CodeGen/MachineFunction.cpp
parentf17227a1da6fca7d89fd072410784ff35154e2e5 (diff)
downloadllvm-f1b20c52251af54413ca5b990db2b29d9418e256.zip
llvm-f1b20c52251af54413ca5b990db2b29d9418e256.tar.gz
llvm-f1b20c52251af54413ca5b990db2b29d9418e256.tar.bz2
MachineRegisterInfo/MIR: Initialize tracksSubRegLiveness early, do not print/parser it
tracksSubRegLiveness only depends on the Subtarget and a cl::opt, there is not need to change it or save/parse it in a .mir file. Make the field const and move the initialization LiveIntervalAnalysis to the MachineRegisterInfo constructor. Also cleanup some code and fix some instances which better use MachineRegisterInfo::subRegLivenessEnabled() instead of TargetSubtargetInfo::enableSubRegLiveness(). llvm-svn: 279676
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions