[llvm] [LV][NFC] Remove stray semicolons (PR #114057)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 06:51:22 PDT 2024


https://github.com/pfusik created https://github.com/llvm/llvm-project/pull/114057

None

>From 8fc32e3f7216428b36d457c19eefe341c868ce15 Mon Sep 17 00:00:00 2001
From: Piotr Fusik <p.fusik at samsung.com>
Date: Tue, 29 Oct 2024 14:50:17 +0100
Subject: [PATCH] [LV][NFC] Remove stray semicolons

---
 llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 778d928252e051..7161aa52ca48eb 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