Skip to content

Commit

Permalink
[ctx_prof] Avoid llvm::append_range to fix some build bots
Browse files Browse the repository at this point in the history
Example: https://lab.llvm.org/buildbot/#/builders/169/builds/3381

The CI allowed the `llvm::append_range` instantiation, but
on the other hand it's quite unnecessary here.
  • Loading branch information
mtrofin committed Sep 19, 2024
1 parent ee5709b commit 12d9485
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class ProfileAnnotator final {
continue;
}
if (succ_size(BB) == 1) {
llvm::append_range(Worklist, successors(BB));
Worklist.push_back(BB->getUniqueSuccessor());
continue;
}
const auto &BBInfo = getBBInfo(*BB);
Expand Down

0 comments on commit 12d9485

Please sign in to comment.