[PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumen...
authorHiroshi Yamauchi <yamauchi@google.com>
Wed, 5 Feb 2020 18:02:12 +0000 (10:02 -0800)
committerHiroshi Yamauchi <yamauchi@google.com>
Thu, 6 Feb 2020 18:29:01 +0000 (10:29 -0800)
commit4ed205c816e9a34de938525b28d6151adf912fe1
tree09f943b8262f6bf10fc63a7ead96364cc11f4edb
parentd53c8c6af5223e4098b395175f0bfaf75721fb79
[PGO][PGSO] Enable profile guided size optimization for non-cold code under instrumentation PGO.

Summary:
This enables it for large working set size cases only.

This does not enable it under sample PGO.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74073
llvm/lib/Transforms/Utils/SizeOpts.cpp