diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-24 06:08:06 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-24 06:08:06 +0000 |
| commit | bf8f2075191bde98cd996e05ecdbe636685cc25a (patch) | |
| tree | 6d32585d3a325b828043acca7e8ec59ba597dc5a /llvm/lib/Target/Mips/MipsISelLowering.cpp | |
| parent | f25b7c68167415e7d9d33ecd9305f8e8cbd89ac6 (diff) | |
| download | bcm5719-llvm-bf8f2075191bde98cd996e05ecdbe636685cc25a.tar.gz bcm5719-llvm-bf8f2075191bde98cd996e05ecdbe636685cc25a.zip | |
MipsISelLowering.cpp: Fill unreachable paths to fix warnings. [-Wsometimes-uninitialized]
FIXME: Could they, unreachable(s), be removed?
FIXME: I could prefer the coding standards...
llvm-svn: 173325
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsISelLowering.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp index 5399b45ee61..f37b652fec9 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.cpp +++ b/llvm/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 { |

