[llvm] [AArch64][BOLT] Ensure tentative code layout for cold BBs runs. (PR #96609)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 12:22:46 PDT 2024


================
@@ -324,7 +325,6 @@ uint64_t LongJmpPass::tentativeLayoutRelocColdPart(
 uint64_t LongJmpPass::tentativeLayoutRelocMode(
     const BinaryContext &BC, std::vector<BinaryFunction *> &SortedFunctions,
     uint64_t DotAddress) {
-
   // Compute hot cold frontier
   uint32_t LastHotIndex = -1u;
----------------
yota9 wrote:

Also while you here please make LastHotIndex variable int64_t . Thank you!

https://github.com/llvm/llvm-project/pull/96609


More information about the llvm-commits mailing list