[all-commits] [llvm/llvm-project] 3faab8: [AIX][LTO] Enabling Context Sensitive PGO Options

Qiongsi Wu via All-commits all-commits at lists.llvm.org
Wed Nov 30 07:32:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3faab85c12bc1d96e144dcb6d8f75bcafa120c79
      https://github.com/llvm/llvm-project/commit/3faab85c12bc1d96e144dcb6d8f75bcafa120c79
  Author: Qiongsi Wu <qiongsiwu at gmail.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/lto-aix.c
    M llvm/lib/LTO/LTOCodeGenerator.cpp

  Log Message:
  -----------
  [AIX][LTO] Enabling Context Sensitive PGO Options

This patch enables context sensitive PGO (CSPGO) for LTO on AIX. Two parts are involved:

  # Frontend logic is added so libLTO can understand the CSPGO related options.
  # Two options are added to the backend so that the LTOCodeGenerator can understand the CSPGO related options and make use of them.

Reviewed By: MaskRay

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




More information about the All-commits mailing list