[all-commits] [llvm/llvm-project] 4fdbe9: [BOLT] Introduce SplitStrategy ABC

Fabian Parzefall via All-commits all-commits at lists.llvm.org
Thu Sep 8 15:00:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fdbe9853c007b53ef36537b5b2a7f10b7f75a81
      https://github.com/llvm/llvm-project/commit/4fdbe9853c007b53ef36537b5b2a7f10b7f75a81
  Author: Fabian Parzefall <parzefall at fb.com>
  Date:   2022-09-08 (Thu, 08 Sep 2022)

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

  Log Message:
  -----------
  [BOLT] Introduce SplitStrategy ABC

This introduces an abstract base class for splitting strategies to
document the interface a strategy needs to implement, and also to avoid
code bloat of the `splitFunction` method.

Reviewed By: maksfb

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




More information about the All-commits mailing list