mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
[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:
parent
856a0143b0
commit
8bc041ce85
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user