[PATCH] D129382: Add BAT testing framework
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 17:43:35 PDT 2022
maksfb added inline comments.
================
Comment at: bolt/lib/Passes/ValidateInternalCalls.cpp:96
for (BinaryBasicBlock &BB : Function) {
for (auto II = BB.begin(); II != BB.end(); ++II) {
MCInst &Inst = *II;
----------------
Unrelated to this patch: we need to iterate over the copy of BBs as we increase the size inside the loop potentially invalidating the iterator.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129382/new/
https://reviews.llvm.org/D129382
More information about the llvm-commits
mailing list