[llvm] 3520dc5 - [Vectorize] Fix a build

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 20 12:52:33 PDT 2025


Author: Kazu Hirata
Date: 2025-03-20T12:52:27-07:00
New Revision: 3520dc5e7a9a30de2db7e9f6b8b4863aed261ca8

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

LOG: [Vectorize] Fix a build

This patch fixes:

  llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp:2263:19: error:
  expected ';' after return statement

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index ce0d1ffb4173a..d3ccd704b63dd 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -2260,7 +2260,7 @@ static bool isConsecutiveInterleaveGroup(VPInterleaveRecipe *InterleaveR,
                 [&TypeInfo, GroupElementTy](VPValue *Op) {
                   return TypeInfo.inferScalarType(Op) == GroupElementTy;
                 }))
-      return false
+      return false;
   }
 
   unsigned GroupSize = GroupElementTy->getScalarSizeInBits() * VF;


        


More information about the llvm-commits mailing list