[mips][ias] Attempt to fix 'not all control paths return a value' reported by MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Sanders 2016-05-09 15:37:52 +00:00
parent 856a0143b0
commit 8bc041ce85

View File

@ -63,6 +63,8 @@ MipsRegisterInfo::getPointerRegClass(const MachineFunction &MF,
case MipsPtrClass::GlobalPointer:
return ABI.ArePtrs64bit() ? &Mips::GP64RegClass : &Mips::GP32RegClass;
}
llvm_unreachable("Unknown pointer kind");
}
unsigned