[llvm] [BOLT] Optimize basic block loops to avoid n^2 loop (PR #156243)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 13:35:51 PDT 2025


maksfb wrote:

Did you ever try these options: `--use-old-text --no-huge-pages --align-text=64`? They might help to reduce the binary size and hopefully RSS as well. If BOLT produces a warning that it cannot fit `.text`, you can try adding `--align-functions=2 ` on top of that.

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


More information about the llvm-commits mailing list