From: Sjoerd Meijer Date: Thu, 1 Aug 2019 18:54:29 +0000 (+0000) Subject: Follow up of rL367592, fix the build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad60f4fbf433be55ae8114d7b654b86592f328c5;p=llvm Follow up of rL367592, fix the build Some buildbots complained about: error: default label in switch which covers all enumeration values git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367603 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 369b29a1e9b..5a0ce75add4 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/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: