mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
Add a return statement to suppress warnings in NDEBUG builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38bb2f8d09
commit
1f5d212ca7
@ -71,6 +71,7 @@ unsigned MVT::getExtendedSizeInBits() const {
|
||||
if (const VectorType *VTy = dyn_cast<VectorType>(LLVMTy))
|
||||
return VTy->getBitWidth();
|
||||
assert(false && "Unrecognized extended type!");
|
||||
return 0; // Suppress warnings.
|
||||
}
|
||||
|
||||
/// getMVTString - This function returns value type as a string, e.g. "i32".
|
||||
|
Loading…
Reference in New Issue
Block a user