Remove the need to cache the subtarget in the PowerPC TargetRegisterInfo
authorEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 01:42:51 +0000 (01:42 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 01:42:51 +0000 (01:42 +0000)
commitea178cf48fc2698e43fefba8fe8d2351f713d741
tree3ae8f5e475a886f8d3cef154f4d07a5bb49b8cde
parent22b9f6a12d816b22198e44f0c4bb249761046d35
Remove the need to cache the subtarget in the PowerPC TargetRegisterInfo
classes. Replace it with a cache to the TargetMachine and use that
where applicable at the moment.

llvm-svn: 232002
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/lib/Target/PowerPC/PPCRegisterInfo.h