[XCore] The RRegs register class is a superset of GRRegs.
authorRichard Osborne <richard@xmos.com>
Thu, 4 Apr 2013 19:57:46 +0000 (19:57 +0000)
committerRichard Osborne <richard@xmos.com>
Thu, 4 Apr 2013 19:57:46 +0000 (19:57 +0000)
commitc6ff29713d69b4a41c225cbde9c82e4a350dbfac
treedc8d9d41936f30b018520c2c7e125b99d76b02a7
parent8256a98847ea90fae11ee95a0a3089e60f623b84
[XCore] The RRegs register class is a superset of GRRegs.

At the time when the XCore backend was added there were some issues with
with overlapping register classes but these all seem to be fixed now.
Describing the register classes correctly allow us to get rid of a
codegen only instruction (LDAWSP_lru6_RRegs) and it means we can
disassemble ru6 instructions that use registers above r11.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178782 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
lib/Target/XCore/XCoreFrameLowering.cpp
lib/Target/XCore/XCoreInstrInfo.td
lib/Target/XCore/XCoreRegisterInfo.td
test/MC/Disassembler/XCore/xcore.txt