We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace356b commit ebc90d5Copy full SHA for ebc90d5
llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h
@@ -68,7 +68,7 @@ class SeedBundle {
68
/// the seeds in a bundle. This allows constant time evaluation
69
/// and "removal" from the list.
70
void setUsed(Instruction *I) {
71
- auto It = std::find(begin(), end(), I);
+ auto It = llvm::find(*this, I);
72
assert(It != end() && "Instruction not in the bundle!");
73
auto Idx = It - begin();
74
setUsed(Idx, 1, /*VerifyUnused=*/false);
0 commit comments