A function may be considered hot by basic block sections even though the entry might not be.
If no profile exists for the entry block, then it might make sense to place it in the cold section.
Details
Details
- Reviewers
tmsriram
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good otherwise, please update the description to reflect performance improvements from doing this.
llvm/lib/CodeGen/CodeGenPrepare.cpp | ||
---|---|---|
254 | Change k to block |
Change k to block