Remove the need to cache the subtarget in the AArch64 TargetRegisterInfo
authorEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 02:04:46 +0000 (02:04 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 02:04:46 +0000 (02:04 +0000)
commit6bfa6d9c08d2346475dfceb0f83c7769b9767f2f
treebafd4e8fe8e3c2458c73cf5c4eb7358aad9bc05e
parent3ea0adcdd507e9cb01806bbb94c00ae2b31e1ef6
Remove the need to cache the subtarget in the AArch64 TargetRegisterInfo
classes. Replace it with a cache to the Triple and use that
where applicable at the moment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64RegisterInfo.cpp
lib/Target/AArch64/AArch64RegisterInfo.h
lib/Target/AArch64/AArch64Subtarget.h