]> granicus.if.org Git - llvm/commit
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)
commite4a40f7a1cdb317a2ff1e6a5b37cb1fe1bae5ab0
tree7c3f237eea083aeb06eede0328131272f140a1ef
parent13775e54b6f7e98e6ebf8e9e4b7200ff393b332b
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232002 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/PowerPC/PPCRegisterInfo.cpp
lib/Target/PowerPC/PPCRegisterInfo.h