summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-01-24 06:08:06 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-01-24 06:08:06 +0000
commitb3105b9a9bb318672364b3d63e07b6325c3be3d7 (patch)
treea619ec242349b6c8d01920ee7b3cfbe101beeeef /lib/Target
parent00cdf602ae73e039c5d5244bae4bffb5e6455096 (diff)
downloadllvm-b3105b9a9bb318672364b3d63e07b6325c3be3d7.tar.gz
llvm-b3105b9a9bb318672364b3d63e07b6325c3be3d7.tar.bz2
llvm-b3105b9a9bb318672364b3d63e07b6325c3be3d7.tar.xz
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp
index 5399b45ee6..f37b652fec 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 {