Remove the need to cache the subtarget in the X86 TargetRegisterInfo
authorEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 17:54:19 +0000 (17:54 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 12 Mar 2015 17:54:19 +0000 (17:54 +0000)
commitf516a66bdd3ebd601e520602a871695e8bcb2626
treeabbb69bd0c1ebf51c63cfce37b3f6cea4c8594d8
parenta08ee010be2cb4b5796568fcb2e76a60ab4854fd
Remove the need to cache the subtarget in the X86 TargetRegisterInfo
classes. Use a Triple instead and simplify a lot of the querying
logic to use lookups on the Triple.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232071 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.h