[all-commits] [llvm/llvm-project] f8d2d8: [BOLT][NFC] Move getInliningInfo out of Inliner class

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed May 4 14:08:21 PDT 2022

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

  Changed paths:
    M bolt/include/bolt/Passes/Inliner.h
    M bolt/lib/Passes/Inliner.cpp

  Log Message:
  [BOLT][NFC] Move getInliningInfo out of Inliner class

`getInliningInfo` is useful in other passes that need to check inlining
eligibility for some function. Move the declaration and InliningInfo definition
out of Inliner class. Prepare for subsequent use in ICP.

Reviewed By: rafauler

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

More information about the All-commits mailing list