[llvm] [MemProf] Disable promotion to function declarations by default (PR #192335)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 10:25:08 PDT 2026


https://github.com/teresajohnson requested changes to this pull request.

If the new metadata is causing us to have a declaration with external linkage type in one module, with the definition being internal linkage in another module, I believe that is illegal IR. I don't think this optimization is the problem.

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


More information about the llvm-commits mailing list