Replace MachineRegisterInfo::TracksLiveness with a MachineFunctionProperty
authorDerek Schuff <dschuff@google.com>
Mon, 11 Apr 2016 23:32:13 +0000 (23:32 +0000)
committerDerek Schuff <dschuff@google.com>
Mon, 11 Apr 2016 23:32:13 +0000 (23:32 +0000)
commitf7b2bce1f1d291a10be65a1524f1406c3f6937c6
tree93c2a3f057cf1fa2f214d5df5fc512a1933db856
parent74c0c09666b0ac3fedf55e306c4948971ea6fb4d
Replace MachineRegisterInfo::TracksLiveness with a MachineFunctionProperty

Use the MachineFunctionProperty mechanism to indicate whether the
liveness info is accurate instead of a bool flag on MRI.
Keeps the MRI accessor function for convenience. NFC

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

llvm-svn: 266020
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/include/llvm/CodeGen/MachineRegisterInfo.h
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/MachineRegisterInfo.cpp