commit | 7716d6596884a7d1fb87f3ecba3ab31a97e283d4 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Mon Apr 15 16:49:00 2019 +0000 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Mon Apr 15 16:49:00 2019 +0000 |
tree | 62fef887cca114dbc37530273fcfd4ca39bdfc10 | |
parent | 6900134167b2c456705b577d6a9b3b5a455df7e1 [diff] |
[PGO] Profile guided code size optimization. Summary: Enable some of the existing size optimizations for cold code under PGO. A ~5% code size saving in big internal app under PGO. The way it gets BFI/PSI is discussed in the RFC thread http://lists.llvm.org/pipermail/llvm-dev/2019-March/130894.html Note it doesn't currently touch loop passes. Reviewers: davidxl, eraman Reviewed By: eraman Subscribers: mgorny, javed.absar, smeenai, mehdi_amini, eraman, zzheng, steven_wu, dexonsmith, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59514 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358422 91177308-0d34-0410-b5e6-96231b3b80d8