[llvm] fb858b4 - Remove obsolete assert (#112392)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 09:50:25 PDT 2024


Author: Sterling-Augustine
Date: 2024-10-15T09:50:18-07:00
New Revision: fb858b4f6ba454565abecbc107364a444668840b

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

LOG: Remove obsolete assert (#112392)

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h b/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h
index 626fcb5afcb90b..6bad38b637d2a8 100644
--- a/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h
+++ b/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h
@@ -236,7 +236,6 @@ class SeedContainer {
     }
     // Iterators iterate over the bundles
     iterator &operator++() {
-      assert(VecIdx >= 0 && "Already at end!");
       ++VecIdx;
       if (VecIdx >= Vec->size()) {
         assert(MapIt != Map->end() && "Already at end!");


        


More information about the llvm-commits mailing list