From: Artyom Skrobov Date: Tue, 20 Oct 2015 15:06:37 +0000 (+0000) Subject: Two switch blocks in VectorLegalizer::LegalizeOp already have a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7d55a0bab7448cc3f076602b4267ec2c6e741fe9;p=oota-llvm.git Two switch blocks in VectorLegalizer::LegalizeOp already have a default: llvm_unreachable("This action is not supported yet!"); -- so I'm adding one to the third switch block, too. This is a follow-up fix for http://reviews.llvm.org/D13862 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250830 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index e3633edc371..4ec8711fa33 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp @@ -348,6 +348,7 @@ SDValue VectorLegalizer::LegalizeOp(SDValue Op) { } switch (TLI.getOperationAction(Node->getOpcode(), QueryType)) { + default: llvm_unreachable("This action is not supported yet!"); case TargetLowering::Promote: Result = Promote(Op); Changed = true;