[all-commits] [llvm/llvm-project] c02e8f: [llvm][transforms] Add a new algorithm to SplitMod...

Ilia Sergachev via All-commits all-commits at lists.llvm.org
Wed Jul 3 12:26:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c02e8f762a410e55581866c43636efcd6504c1bd
      https://github.com/llvm/llvm-project/commit/c02e8f762a410e55581866c43636efcd6504c1bd
  Author: Ilia Sergachev <1894984+sergachev at users.noreply.github.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SplitModule.h
    M llvm/lib/Transforms/Utils/SplitModule.cpp
    A llvm/test/tools/llvm-split/name-hash-based-distribution.ll
    A llvm/test/tools/llvm-split/round-robin.ll
    M llvm/tools/llvm-split/llvm-split.cpp

  Log Message:
  -----------
  [llvm][transforms] Add a new algorithm to SplitModule (#95941)

The new round-robin algorithm overrides the hash-based distribution of
functions to modules. It achieves a more even number of functions per
module when the number of functions is close to the number of requested
modules. It's not in use by default and is available under a new flag.



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