Fix function MipsRegisterInfo::getRegisterNumbering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130774 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka 2011-05-03 18:41:54 +00:00
parent 22a751ac13
commit 9ff1b9b259

View File

@ -65,16 +65,16 @@ getRegisterNumbering(unsigned RegEnum)
case Mips::T5 : case Mips::F13: return 13;
case Mips::T6 : case Mips::F14: case Mips::D7: return 14;
case Mips::T7 : case Mips::F15: return 15;
case Mips::T8 : case Mips::F16: case Mips::D8: return 16;
case Mips::T9 : case Mips::F17: return 17;
case Mips::S0 : case Mips::F18: case Mips::D9: return 18;
case Mips::S1 : case Mips::F19: return 19;
case Mips::S2 : case Mips::F20: case Mips::D10: return 20;
case Mips::S3 : case Mips::F21: return 21;
case Mips::S4 : case Mips::F22: case Mips::D11: return 22;
case Mips::S5 : case Mips::F23: return 23;
case Mips::S6 : case Mips::F24: case Mips::D12: return 24;
case Mips::S7 : case Mips::F25: return 25;
case Mips::S0 : case Mips::F16: case Mips::D8: return 16;
case Mips::S1 : case Mips::F17: return 17;
case Mips::S2 : case Mips::F18: case Mips::D9: return 18;
case Mips::S3 : case Mips::F19: return 19;
case Mips::S4 : case Mips::F20: case Mips::D10: return 20;
case Mips::S5 : case Mips::F21: return 21;
case Mips::S6 : case Mips::F22: case Mips::D11: return 22;
case Mips::S7 : case Mips::F23: return 23;
case Mips::T8 : case Mips::F24: case Mips::D12: return 24;
case Mips::T9 : case Mips::F25: return 25;
case Mips::K0 : case Mips::F26: case Mips::D13: return 26;
case Mips::K1 : case Mips::F27: return 27;
case Mips::GP : case Mips::F28: case Mips::D14: return 28;