[llvm] 3c02fea - [LV][NFC] Remove stray semicolons (#114057)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 20:07:18 PDT 2024


Author: Piotr Fusik
Date: 2024-10-30T04:07:14+01:00
New Revision: 3c02fea737d774bbf174c6b763593ad3e7f56221

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

LOG: [LV][NFC] Remove stray semicolons (#114057)

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 778d928252e051..150fc4a42b4847 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -581,8 +581,8 @@ class InnerLoopVectorizer {
 
   /// Allow subclasses to override and print debug traces before/after vplan
   /// execution, when trace information is requested.
-  virtual void printDebugTracesAtStart(){};
-  virtual void printDebugTracesAtEnd(){};
+  virtual void printDebugTracesAtStart() {}
+  virtual void printDebugTracesAtEnd() {}
 
   /// The original loop.
   Loop *OrigLoop;
@@ -1310,7 +1310,7 @@ class LoopVectorizationCostModel {
       return false;
     case cl::BOU_FALSE:
       return true;
-    };
+    }
     llvm_unreachable("impossible case value");
   }
 
@@ -9065,7 +9065,7 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
     if (!getDecisionAndClampRange(ApplyIG, Range))
       continue;
     InterleaveGroups.insert(IG);
-  };
+  }
 
   // ---------------------------------------------------------------------------
   // Construct recipes for the instructions in the loop


        


More information about the llvm-commits mailing list