MachineRegisterInfo can access TII off of the MachineFunction's
authorEric Christopher <echristo@gmail.com>
Tue, 27 Jan 2015 01:15:16 +0000 (01:15 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 27 Jan 2015 01:15:16 +0000 (01:15 +0000)
commitac33b1f5b33361dc94c82ff3e9e03d3d7e1c6fb3
tree72b42e3692096132a9ea901388a797c9f99e13c9
parent07745031b1248f5feb667650eb24e8939691266c
MachineRegisterInfo can access TII off of the MachineFunction's
subtarget and so doesn't need the TargetMachine or to access via
getSubtargetImpl. Update all callers.

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