[all-commits] [llvm/llvm-project] e19a5f: [FuncSpec] Improve accounting of specialization co...

Hari Limaye via All-commits all-commits at lists.llvm.org
Tue Oct 29 04:53:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e19a5fc6d306a81d181a9597a8b25c444c08d722
      https://github.com/llvm/llvm-project/commit/e19a5fc6d306a81d181a9597a8b25c444c08d722
  Author: Hari Limaye <hari.limaye at arm.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    A llvm/test/Transforms/FunctionSpecialization/maxgrowth.ll

  Log Message:
  -----------
  [FuncSpec] Improve accounting of specialization codesize growth (#113448)

Only accumulate the codesize increase of functions that are actually
specialized, rather than for every candidate specialization that we
analyse.

This fixes a subtle bug where prior analysis of candidate
specializations that were deemed unprofitable could prevent subsequent
profitable candidates from being recognised.



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