[all-commits] [llvm/llvm-project] b70f23: [PGO][PGSO] Tune flags for profile guided size opt...

hjyamauchi via All-commits all-commits at lists.llvm.org
Wed Feb 5 09:37:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b70f23f5996d916f8ed4b870631a3b9075c12810
      https://github.com/llvm/llvm-project/commit/b70f23f5996d916f8ed4b870631a3b9075c12810
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SizeOpts.h
    M llvm/lib/Transforms/Utils/SizeOpts.cpp

  Log Message:
  -----------
  [PGO][PGSO] Tune flags for profile guided size optimization.

Summary:
Tune the profile threshold flag value for instrumentation PGO based on internal
benchmarks.

Also, add flags to allow profile guided size optimizations for non-cold code
to be enabled separately for instrumentation and sample PGSO.

Neither changes the default behavior (yet) as it's disabled for non-cold code.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72937




More information about the All-commits mailing list