Move isSubRegister() and isSuperRegister to MCRegisterInfo.
authorJim Grosbach <grosbach@apple.com>
Wed, 19 Dec 2012 23:38:46 +0000 (23:38 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 19 Dec 2012 23:38:46 +0000 (23:38 +0000)
commite188fb7dd91c6fee15aa18c877d664d63d736000
treee07549d95ae9a38886dee9354e89ceb675ef1466
parentdd2fa5195ea2d98b2b4ee18f9894ad674f132a40
Move isSubRegister() and isSuperRegister to MCRegisterInfo.

These were defined on TargetRegisterInfo, but they don't use any information
that's not available in MCRegisterInfo, so sink them down to be available
at the MC layer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170608 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCRegisterInfo.h
include/llvm/Target/TargetRegisterInfo.h