[all-commits] [llvm/llvm-project] afa51f: llvm-reduce: Add new pass to inline call sites

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri May 2 12:13:45 PDT 2025


  Branch: refs/heads/users/arsenm/llvm-reduce/introduce-reduce-inline-call-sites-delta-pass
  Home:   https://github.com/llvm/llvm-project
  Commit: afa51f6c397987ca88364eab7064ee8bb8a5acaf
      https://github.com/llvm/llvm-project/commit/afa51f6c397987ca88364eab7064ee8bb8a5acaf
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    A llvm/test/tools/llvm-reduce/inline-call-sites-cost.ll
    A llvm/test/tools/llvm-reduce/inline-call-sites.ll
    M llvm/tools/llvm-reduce/CMakeLists.txt
    M llvm/tools/llvm-reduce/DeltaManager.cpp
    M llvm/tools/llvm-reduce/DeltaPasses.def
    A llvm/tools/llvm-reduce/deltas/ReduceInlineCallSites.cpp
    A llvm/tools/llvm-reduce/deltas/ReduceInlineCallSites.h

  Log Message:
  -----------
  llvm-reduce: Add new pass to inline call sites

Added a primitive heuristic to avoid blowing up the code size
which could use more thought.

This helps cleanup some basic examples I've been looking at where
there is a worse result when just running a bug through the full
optimization pipeline vs. running just a single pass at the point
of failure.



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