[llvm] [LowerTypeTests] Mark CFI jump table hot if profile summary is present (PR #222230)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 21:56:12 PDT 2026


https://github.com/boomanaiden154 commented:

Can we not do something smarter later on in the pipeline when we have profile information available?

I would think we're leaving some performance on the table (or at least bloating .text.hot) if we're hoisting jump tables that are cold into .text.hot. In CodeGenPrepare when we do hot/cold splitting I think it would be doable to look through jump tables and put them in .text.hot if at least one of the functions is hot.

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


More information about the llvm-commits mailing list