[llvm-branch-commits] [BOLT][NFC] Track fragment relationships using EquivalenceClasses (PR #99979)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 22 15:31:49 PDT 2024


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

Three-way splitting can create references between split fragments (warm
to cold or vice versa) that are not handled by
`isChildOf/isParentOf/isChildOrParentOf`. Generalize fragment
relationships to allow checking if two functions belong to one group,
potentially in presence of ICF which can join multiple groups.

Test Plan: NFC for existing tests





More information about the llvm-branch-commits mailing list