[Mips Disassembler] Have the DecodeCCRRegisterClass function use the getReg
authorChad Rosier <mcrosier@apple.com>
Wed, 26 Jun 2013 22:23:32 +0000 (22:23 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 26 Jun 2013 22:23:32 +0000 (22:23 +0000)
commit096c0a03313ea43a1e4035645b02bf99fd35801a
tree5334cd1acef7a48b018c0d8f972845381ab975f7
parent6b97ebe9a32342207b24a5f73ebbf3070ec8d189
[Mips Disassembler] Have the DecodeCCRRegisterClass function use the getReg
function to lookup the proper tablegen'ed register enumeration.  Previously,
it was using the encoded value directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185026 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Disassembler/MipsDisassembler.cpp
test/MC/Disassembler/Mips/mips32.txt
test/MC/Disassembler/Mips/mips32_le.txt
test/MC/Disassembler/Mips/mips32r2.txt
test/MC/Disassembler/Mips/mips32r2_le.txt