[llvm] Remove obsolete assert (PR #112392)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 09:23:24 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-vectorizers
@llvm/pr-subscribers-llvm-transforms
Author: None (Sterling-Augustine)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/112392.diff
1 Files Affected:
- (modified) llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h (-1)
``````````diff
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!");
``````````
</details>
https://github.com/llvm/llvm-project/pull/112392
More information about the llvm-commits
mailing list