[all-commits] [llvm/llvm-project] 3968eb: [BOLT] Keep multi-entry functions simple in aggreg...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Feb 25 10:54:07 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3968ebd00da80a08de84f83a101ebb23710f6631
      https://github.com/llvm/llvm-project/commit/3968ebd00da80a08de84f83a101ebb23710f6631
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp
    A bolt/test/X86/entry-point-fallthru.s

  Log Message:
  -----------
  [BOLT] Keep multi-entry functions simple in aggregation mode (#128253)

BOLT used to mark multi-entry functions non-simple in non-relocation
mode with the reasoning that we can't move them due to potentially
undetected references. However, in aggregation mode it doesn't apply as
BOLT doesn't perform optimizations.

Relax this constraint in case of an aggregation job.

Test Plan: added entry-point-fallthru.s



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