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:
Dan Gohman 2008-11-04 16:08:57 +00:00
parent 38bb2f8d09
commit 1f5d212ca7

View File

@ -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".