summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorArtyom Skrobov <Artyom.Skrobov@arm.com>2015-10-20 15:06:37 +0000
committerArtyom Skrobov <Artyom.Skrobov@arm.com>2015-10-20 15:06:37 +0000
commitc736863a85c511e29c4ac0f7a1b6cf0a749df18e (patch)
tree24d19e327be6f1da30eefe725cdf141359a78a3b /llvm/lib
parent4b29f6f7f7d3befb8963f3c0cec74990dd26cdc1 (diff)
downloadbcm5719-llvm-c736863a85c511e29c4ac0f7a1b6cf0a749df18e.tar.gz
bcm5719-llvm-c736863a85c511e29c4ac0f7a1b6cf0a749df18e.zip
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 llvm-svn: 250830
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index e3633edc371..4ec8711fa33 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud