commit | 3dfba4afc6d9dfa896e7de4640c88bc9c9180d7c | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Sat Jan 19 02:38:47 2019 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Sat Jan 19 02:38:47 2019 +0000 |
tree | 5e690d3750b1eaa232d6af2e09e28c070e747e94 | |
parent | 1054bdf35560e528d67369213bec852c0c29373d [diff] |
[HotColdSplit] Mark inherently cold functions as such If an inherently cold function is found, mark it as cold. For now this means applying the `cold` and `minsize` attributes. As a drive-by, revisit and clean up the criteria for considering a function for splitting. Add tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351623 91177308-0d34-0410-b5e6-96231b3b80d8