[llvm-branch-commits] [BOLT] Map branch source address to the containing basic block in BAT YAML (PR #91273)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 6 14:24:33 PDT 2024


https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/91273

Fix an issue where the profile for all branches that have a BRANCHENTRY
is dropped. If the branch has an entry in BAT, it will be translated to
its input offset. We used to only permit the basic block offset as a
branch source. Perform a lookup of containing basic block instead.

Test Plan: Updated bolt-address-translation-yaml.test





More information about the llvm-branch-commits mailing list