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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Apr 3 02:43:17 PDT 2025


  Branch: refs/heads/users/arsenm/llvm-reduce/introduce-reduce-inline-call-sites-delta-pass
  Home:   https://github.com/llvm/llvm-project
  Commit: b70ec088532972413c5487a5ee2a2f04166fb586
      https://github.com/llvm/llvm-project/commit/b70ec088532972413c5487a5ee2a2f04166fb586
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-03 (Thu, 03 Apr 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