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
This commit is contained in:
Artyom Skrobov 2015-10-20 15:06:37 +00:00
parent 4b29f6f7f7
commit c736863a85
1 changed files with 1 additions and 0 deletions

View File

@ -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;