From: Benjamin Kramer Date: Thu, 26 Sep 2013 16:36:08 +0000 (+0000) Subject: Mark an impossible path as unreachable to pacify GCC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cd6bd62f3f7ee42f08ad130395ac65564768990;p=clang Mark an impossible path as unreachable to pacify GCC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191436 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index cdcc36465b..450b5f0c82 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -1625,6 +1625,7 @@ static llvm::VectorType *GetNeonType(CodeGenFunction *CGF, case NeonTypeFlags::Float64: return llvm::VectorType::get(CGF->DoubleTy, V1Ty ? 1 : (1 << IsQuad)); } + llvm_unreachable("Unknown vector element type!"); } Value *CodeGenFunction::EmitNeonSplat(Value *V, Constant *C) {