[llvm-branch-commits] [BOLT][BAT] Add support for three-way split functions (PR #93760)
Davide Italiano via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 4 16:11:51 PDT 2024
================
@@ -129,6 +129,8 @@ void BoltAddressTranslation::write(const BinaryContext &BC, raw_ostream &OS) {
LLVM_DEBUG(dbgs() << " Cold part\n");
for (const FunctionFragment &FF :
Function.getLayout().getSplitFragments()) {
+ if (FF.empty())
----------------
dcci wrote:
can you add a comment explaining why we're skipping empty fragments?
https://github.com/llvm/llvm-project/pull/93760
More information about the llvm-branch-commits
mailing list