From: NAKAMURA Takumi Date: Thu, 24 Jan 2013 06:08:06 +0000 (+0000) Subject: MipsISelLowering.cpp: Fill unreachable paths to fix warnings. [-Wsometimes-uninitialized] X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b3105b9a9bb318672364b3d63e07b6325c3be3d7;p=oota-llvm.git MipsISelLowering.cpp: Fill unreachable paths to fix warnings. [-Wsometimes-uninitialized] FIXME: Could they, unreachable(s), be removed? FIXME: I could prefer the coding standards... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173325 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 5399b45ee61..f37b652fec9 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/lib/Target/Mips/MipsISelLowering.cpp @@ -2917,6 +2917,12 @@ const char* MipsTargetLowering:: (RetTy->getContainedType(1)->isDoubleTy())) { result = dcMips16Helper[stubNum]; } + else { + llvm_unreachable("Uncovered condition"); + } + } + else { + llvm_unreachable("Uncovered condition"); } } else {