[all-commits] [llvm/llvm-project] 5129b3: [BOLT] Make FoldedIntoFunction always point to roo...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Wed Feb 11 11:35:25 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5129b3c4494e00fa915a356ec65e649bb7ff6916
      https://github.com/llvm/llvm-project/commit/5129b3c4494e00fa915a356ec65e649bb7ff6916
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2026-02-11 (Wed, 11 Feb 2026)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/lib/Passes/IdenticalCodeFolding.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Make FoldedIntoFunction always point to root parent (#180855)

After ICF folds functions, FoldedIntoFunction may point to a function
that was also folded. Add a post-processing step at the end of ICF to
flatten all chains so FoldedIntoFunction always points to the ultimate
root parent (a function that is not itself folded).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list