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)
commited6a446403380b985896c02097584494ae5c60db
treef1374abf61d5adcab8f8fc82d2df5f8b3377b3d7
parenta1aea9aad4f99580939ca70125229dea3694e49c
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.

llvm-svn: 232071
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86RegisterInfo.cpp
llvm/lib/Target/X86/X86RegisterInfo.h