[all-commits] [llvm/llvm-project] d58b5a: [BOLT] Restrict icp-inline to callsites

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Jun 27 11:10:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d58b5a06147eb40aec807ff58c74c20ca9071f28
      https://github.com/llvm/llvm-project/commit/d58b5a06147eb40aec807ff58c74c20ca9071f28
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

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

  Log Message:
  -----------
  [BOLT] Restrict icp-inline to callsites

ICP peel for inline mode only makes sense for calls, not jump tables.
Plus, add a check that the Target BinaryFunction is found.

Reviewed By: rafauler

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




More information about the All-commits mailing list