[all-commits] [llvm/llvm-project] c2d40f: [BOLT] Add icp-inline option

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed May 11 03:21:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2d40f1dfb64816765080ba5fa5c0837dbeee620
      https://github.com/llvm/llvm-project/commit/c2d40f1dfb64816765080ba5fa5c0837dbeee620
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-05-11 (Wed, 11 May 2022)

  Changed paths:
    M bolt/lib/Passes/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [BOLT] Add icp-inline option

Add an option to only peel ICP targets that can be subsequently inlined.
Yet there's no guarantee that they will be inlined.

The mode is independent from the heuristic used to choose ICP targets: by exec
count, mispredictions, or memory profile.

Reviewed By: rafauler

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




More information about the All-commits mailing list