[llvm] [AArch64][BOLT] Ensure tentative code layout for cold BBs runs. (PR #96609)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 03:41:47 PDT 2024
================
@@ -382,6 +385,11 @@ uint64_t LongJmpPass::tentativeLayoutRelocMode(
DotAddress += Func->estimateConstantIslandSize();
++CurrentIndex;
}
+ if (!ColdLayoutDone) {
----------------
paschalis-mpeis wrote:
Thanks @yota9 .
BTW, I've just released a reproducer on the bug I describe earlier on this PR (see [point (2)](https://github.com/llvm/llvm-project/pull/96609#issuecomment-2188867516) in my initial comment)
**The issue is:**
- #99848
A possible lead could be the FixRelaxations pass. Any feedback would be appreciated (cc: @yota9 @rafaelauler @samolisov ).
https://github.com/llvm/llvm-project/pull/96609
More information about the llvm-commits
mailing list