[llvm] e9177b0 - Fix build issues caused by 95800da914938129083df2fa0165c1901909c273

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 08:26:50 PDT 2021


Author: David Sherwood
Date: 2021-08-05T16:26:34+01:00
New Revision: e9177b09585a8be62fb9d9d28f063323c5e36760

URL: https://github.com/llvm/llvm-project/commit/e9177b09585a8be62fb9d9d28f063323c5e36760
DIFF: https://github.com/llvm/llvm-project/commit/e9177b09585a8be62fb9d9d28f063323c5e36760.diff

LOG: Fix build issues caused by 95800da914938129083df2fa0165c1901909c273

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 49c853799f10..c2358d325a7d 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -5436,6 +5436,7 @@ void LoopVectorizationCostModel::collectLoopUniforms(ElementCount VF) {
         case Intrinsic::lifetime_end:
           if (TheLoop->hasLoopInvariantOperands(&I))
             addToWorklistIfAllowed(&I);
+          LLVM_FALLTHROUGH;
         default:
           break;
         }
@@ -8991,6 +8992,7 @@ VPBasicBlock *VPRecipeBuilder::handleReplication(
       //      the effect is to poison the object, which still allows us to
       //      remove the call.
       IsUniform = true;
+      break;
     default:
       break;
     }


        


More information about the llvm-commits mailing list