[all-commits] [llvm/llvm-project] 4c5909: [SampleFDO] Add two passes of MIRAddFSDiscriminato...

xur-llvm via All-commits all-commits at lists.llvm.org
Wed Aug 11 11:11:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c5909ba83036ed74f2ddd76f69b3b1bf15bd5f1
      https://github.com/llvm/llvm-project/commit/4c5909ba83036ed74f2ddd76f69b3b1bf15bd5f1
  Author: Rong Xu <xur at google.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/test/CodeGen/X86/fsafdo_test1.ll
    M llvm/test/CodeGen/X86/fsafdo_test2.ll

  Log Message:
  -----------
  [SampleFDO] Add two passes of MIRAddFSDiscriminatorsPass

This patch adds Pass1 of MIRADDFSDiscriminatorsPass before register
allocation, and Pass2 of MIRAddFSDiscriminatorsPass before
Block-Placement. This is still under --enable-fs-discrmininator
option (default false).

This would reduce the turn-around time for FSAFDO transition.

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




More information about the All-commits mailing list