SuccessChanges

Summary

  1. [HotColdSplit] Add options for splitting cold functions in separate section (details)
Commit 53ac14484869a62e0c8eb569c6a030e7af1312e8 by aditya7
[HotColdSplit] Add options for splitting cold functions in separate section

Add support for (if enabled) splitting cold functions into a separate section
in order to further boost locality of hot code.

Authored by: rjf (Ruijie Fang)
Reviewed by: hiraditya,rcorcs,vsk

Differential Revision: https://reviews.llvm.org/D85331
The file was modifiedllvm/lib/Transforms/IPO/HotColdSplitting.cpp (diff)
The file was addedllvm/test/Transforms/HotColdSplit/section-splitting-custom.ll
The file was addedllvm/test/Transforms/HotColdSplit/section-splitting-default.ll