[all-commits] [llvm/llvm-project] 52d981: [SampleFDO] Enable FSAFDO loading passes if --enab...

xur-llvm via All-commits all-commits at lists.llvm.org
Sat Feb 5 22:38:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52d981a4c13a8b320feba59cd851d58923267bed
      https://github.com/llvm/llvm-project/commit/52d981a4c13a8b320feba59cd851d58923267bed
  Author: Rong Xu <xur at google.com>
  Date:   2022-02-05 (Sat, 05 Feb 2022)

  Changed paths:
    M llvm/lib/CodeGen/TargetPassConfig.cpp

  Log Message:
  -----------
  [SampleFDO] Enable FSAFDO loading passes if --enable-fs-discriminator is enabled

FSAFDO profile loader is currently disabled even --enable-fs-discriminator is enabled.
They need to be turned on by options which makes it cumbersome for experiments.

This patch changes the FSAFDO profile loader enabled by default.  Since they are
guarded by EnableFSDiscriminator, they will only be turned on if
--enable-fs-discriminator is enabled. Note that --enable-fs-discriminator is
still disabled by default.

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




More information about the All-commits mailing list