[all-commits] [llvm/llvm-project] dd09a7: [BOLT] Add split function support for the Linux ke...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Wed May 1 21:46:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd09a7db03f8ebaeb3f49203bb53ac730666c1b4
      https://github.com/llvm/llvm-project/commit/dd09a7db03f8ebaeb3f49203bb53ac730666c1b4
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    M bolt/lib/Passes/SplitFunctions.cpp
    M bolt/lib/Rewrite/LinuxKernelRewriter.cpp

  Log Message:
  -----------
  [BOLT] Add split function support for the Linux kernel (#90541)

While rewriting the Linux kernel, we try to fit optimized functions into
their original boundaries. When a function becomes larger, we skip it
during the rewrite and end up with less than optimal code layout. To
overcome that issue, add support for --split-function option so that hot
part of the function could be fit into the original space. The cold part
should go to reserved space in the binary.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list