Skip to content

Commit e0b840a

Browse files
[SandboxVectorizer][NFC] Remove erroneous expensive check assert (#111425)
1 parent fbb8234 commit e0b840a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ class SeedBundle {
5050
/// by symbol, symbol-offset, and program order (which depends if scheduling
5151
/// bottom-up or top-down).
5252
void insertAt(iterator Pos, Instruction *I) {
53-
#ifdef EXPENSIVE_CHECKS
54-
for (auto Itr : Seeds) {
55-
assert(*Itr != I && "Attempt to insert an instruction twice.");
56-
}
57-
#endif
5853
Seeds.insert(Pos, I);
5954
NumUnusedBits += Utils::getNumBits(I);
6055
}

0 commit comments

Comments
 (0)