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

2024-05-06 Thread Amir Ayupov via llvm-branch-commits
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 b

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

2024-05-06 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Amir Ayupov (aaupov) Changes 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