[all-commits] [llvm/llvm-project] 076bd2: [BOLT] Add structure of CDSplit to SplitFunctions ...

ShatianWang via All-commits all-commits at lists.llvm.org
Wed Nov 29 12:43:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 076bd22f579ec4c90b41c700fca21a90fd2b6dbc
      https://github.com/llvm/llvm-project/commit/076bd22f579ec4c90b41c700fca21a90fd2b6dbc
  Author: ShatianWang <38512325+ShatianWang at users.noreply.github.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Passes/SplitFunctions.h
    M bolt/lib/Passes/ReorderFunctions.cpp
    M bolt/lib/Passes/SplitFunctions.cpp
    M bolt/lib/Rewrite/BinaryPassManager.cpp

  Log Message:
  -----------
  [BOLT] Add structure of CDSplit to SplitFunctions (#73430)

This commit establishes the general structure of the CDSplit strategy in
SplitFunctions without incorporating the exact splitting logic. With
-split-functions -split-strategy=cdsplit, the SplitFunctions pass will
run twice: the first time is before function reordering and functions
are hot-cold split; the second time is after function reordering and
functions are hot-warm-cold split based on the fixed function ordering.
Currently, all functions are hot-warm split after the entry block in the
second splitting pass. Subsequent commits will introduce the precise
splitting logic. NFC.




More information about the All-commits mailing list