[all-commits] [llvm/llvm-project] c210cf: [InlineCost] Allow simplifying to non-Constant values

Tobias Stadler via All-commits all-commits at lists.llvm.org
Fri Jun 20 10:47:40 PDT 2025


  Branch: refs/heads/users/tobias-stadler/inline-arbval-pr
  Home:   https://github.com/llvm/llvm-project
  Commit: c210cf3ee74162c63e2dd5a3db957c04bb58e57c
      https://github.com/llvm/llvm-project/commit/c210cf3ee74162c63e2dd5a3db957c04bb58e57c
  Author: Tobias Stadler <mail at stadler-tobias.de>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M llvm/lib/Analysis/InlineCost.cpp

  Log Message:
  -----------
  [InlineCost] Allow simplifying to non-Constant values

Allow mapping callee Values to arbitrary (non-Constant) simplified
values. The simplified values can also originate from the caller. This
enables us to simplify instructions in the callee with instructions from
the caller.

The first use case for this is simplifying extractvalues (#145054).



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