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)
commitfafaa9d967a5de9cda3bf9c3f56ace6c850ee6ca
tree5690814e6e889d72266de6140cdcc51766e4917b
parentcf2667c46e25b781a625f81d8a260d6a3ddec180
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.

llvm-svn: 177120
llvm/include/llvm/Target/TargetLowering.h
llvm/lib/Target/Mips/Mips16ISelLowering.cpp