Have MachineRegisterInfo take and store the MachineFunction it
authorEric Christopher <echristo@gmail.com>
Tue, 12 Aug 2014 08:00:56 +0000 (08:00 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 12 Aug 2014 08:00:56 +0000 (08:00 +0000)
commit99cd10fe111560b9921e731a89109972a149dfab
tree5a99d1b93609635fdc4df9b658abd18112dae008
parent392f7d970c0e15441f47d4e137ccc77ecb3d793a
Have MachineRegisterInfo take and store the MachineFunction it
was created for rather than the TargetMachine since we only
needed the TM for the subtarget and we can get that from the
MF.

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