diff options
-rw-r--r-- | lib/VMCore/ValueTypes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/ValueTypes.cpp b/lib/VMCore/ValueTypes.cpp index d02a538eb2..22449f9040 100644 --- a/lib/VMCore/ValueTypes.cpp +++ b/lib/VMCore/ValueTypes.cpp @@ -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". |