Add a new method which enables one to change register classes.
authorReed Kotler <rkotler@mips.com>
Thu, 14 Mar 2013 22:02:09 +0000 (22:02 +0000)
committerReed Kotler <rkotler@mips.com>
Thu, 14 Mar 2013 22:02:09 +0000 (22:02 +0000)
commitf8b0a08b6a2e2f4eacdb05eae9a8dd704b692b55
tree25aa7428b49afe5ffeacb34559b95ca0922803f0
parentc184a5f4cad9415ee93ff6d24da2ed676573b61c
Add a new method which enables one to change register classes.
See the Mips16ISetLowering.cpp patch to see a use of this.
For now now the extra code in Mips16ISetLowering.cpp is a nop but is
used for test purposes. Mips32 registers are setup and then removed and
then the Mips16 registers are setup.

Normally you need to add register classes and then call
computeRegisterProperties.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177120 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/Target/Mips/Mips16ISelLowering.cpp