[clang] [Clang][Inliner] Enable module-local optimizer hints by default (PR #238529)

Jaeyong Lee via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 00:05:49 PST 2026


npmania wrote:

I have a working prototype that defers the function simplification pipeline for loop-free single-call local/likely_module_local functions in the CGSCC pipeline. On x86_64 (Ryzen 7 5700X) CTMark (instructions:u) it improves the other benchmarks as well: geomean O3 -2.35%, ThinLTO -1.84% (tramp3d-v4 -19.79%/-15.49%), with .text slightly down (-0.04%/-0.05%) and no runtime regressions seen so far on llvm-test-suite.

I'm preparing some prerequisite fixes for regressions exposed during measurements and will follow up with a draft PR for the main patch.

Thanks @kubamracek, I'll cc you on the main PR.

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


More information about the cfe-commits mailing list