[llvm-branch-commits] [BOLT][BAT] Support multi-way split functions (PR #87123)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Mar 29 16:07:05 PDT 2024
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/87123
BAT writeMaps encoded the assumption that functions are only split into
two fragments (hot and cold). However, BOLT supports splitting into
arbitrary number of fragments. Relax that assumption and look up primary
(hot) fragment explicitly.
Test Plan: Updated bolt/test/X86/yaml-secondary-entry-discriminator.s
More information about the llvm-branch-commits
mailing list