[PATCH] D129382: Add BAT testing framework

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 18:08:23 PDT 2022


maksfb added inline comments.


================
Comment at: bolt/lib/Passes/ValidateInternalCalls.cpp:108
         std::vector<std::unique_ptr<BinaryBasicBlock>> NewBBs;
         NewBBs.emplace_back(Function.createBasicBlock());
         NewBBs.back()->addInstructions(MovedInsts.begin(), MovedInsts.end());
----------------
For the new block, we can set the offset to that of the instruction following the call.


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