From e0dfce072399e54f100ce73347ca66ca757ebefa Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Thu, 1 Aug 2019 18:54:29 +0000 Subject: [PATCH] Follow up of rL367592, fix the build Some buildbots complained about: error: default label in switch which covers all enumeration values llvm-svn: 367603 --- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 369b29a1e9b8..5a0ce75add46 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -4767,8 +4767,6 @@ Optional LoopVectorizationCostModel::computeMaxVF() { } switch (ScalarEpilogueStatus) { - default: - return None; case CM_ScalarEpilogueAllowed: return computeFeasibleMaxVF(TC); case CM_ScalarEpilogueNotNeededPredicatePragma: