[all-commits] [llvm/llvm-project] 897a0b: [BasicBlockSections] Split cold parts of custom-se...

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Fri Sep 22 13:49:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 897a0b01d6a4f063b4fa2561a8aeaff14f411053
      https://github.com/llvm/llvm-project/commit/897a0b01d6a4f063b4fa2561a8aeaff14f411053
  Author: Rahman Lavaee <rahmanl at google.com>
  Date:   2023-09-22 (Fri, 22 Sep 2023)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/test/CodeGen/X86/basic-block-sections-pragma-sections.ll

  Log Message:
  -----------
  [BasicBlockSections] Split cold parts of custom-section functions. (#66731)

This PR makes `-basic-block-sections` handle functions with custom
non-dot-text sections correctly. Cold parts of such functions must be
placed in the same section (not in `.text.split`) but with a unique id.




More information about the All-commits mailing list