projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00cdf60
)
MipsISelLowering.cpp: Fill unreachable paths to fix warnings. [-Wsometimes-uninitialized]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 24 Jan 2013 06:08:06 +0000
(06:08 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 24 Jan 2013 06:08:06 +0000
(06:08 +0000)
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
lib/Target/Mips/MipsISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsISelLowering.cpp
b/lib/Target/Mips/MipsISelLowering.cpp
index 5399b45ee61ef9ccdb9d7f6b4c4fe0f798df8346..f37b652fec918db9b87d2e6e2079275302d3e688 100644
(file)
--- 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 {