[llvm] c0906f6 - [SLP] Remove stray semicolon to make bots happy

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 14:09:33 PST 2022


Author: Philip Reames
Date: 2022-01-20T14:09:28-08:00
New Revision: c0906f6b21a1f64f493c9180622d5978d05b17c2

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

LOG: [SLP] Remove stray semicolon to make bots happy

Certain bots (e.g. sanitizer-x86_64-linux-android) appear to be running with strict c++98 flags which disallow ; at global scope.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index f0a031168f48..475ab7e1f495 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -7256,7 +7256,7 @@ BoUpSLP::BlockScheduling::buildBundle(ArrayRef<Value *> VL) {
   }
   assert(Bundle && "Failed to find schedule bundle");
   return Bundle;
-};
+}
 
 // Groups the instructions to a bundle (which is then a single scheduling entity)
 // and schedules instructions until the bundle gets ready.


        


More information about the llvm-commits mailing list