[llvm] [MergeFunctions] Preserve import GUIDs when folding functions (PR #207003)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 14:46:31 PDT 2026


https://github.com/mtrofin commented:

The change itself makes sense. I have some coding comments.

Separately: `MergeFunctions` is't on by default. Is there a plan to turn it on by default, or this is capturing downstream interest in it? Asking because we intentionally skipped over it for profile propagation verification (because straight-forward prioritization). If there's downstream interest in profile quality for this, you probably want to remove [it from here](https://github.com/llvm/llvm-project/blob/5c93fce720433b7302c4ac2e011ffb997c2fb977/llvm/test/lit.cfg.py#L94) and see what fails under profcheck. If there's a plan to maintain profile propagation in upstream, ideally you'd commit that change to lit.cfg.py together with adding those tests to llvm/utils/profcheck-xfail.txt, then fix them - that way, you get buildbot support for regressions here.

https://github.com/llvm/llvm-project/pull/207003


More information about the llvm-commits mailing list