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

Tobias Stadler via All-commits all-commits at lists.llvm.org
Mon Jun 23 08:32:01 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).


  Commit: 68cbd6e096ca97558e045c5dbc486b6c4119c7f1
      https://github.com/llvm/llvm-project/commit/68cbd6e096ca97558e045c5dbc486b6c4119c7f1
  Author: Tobias Stadler <mail at stadler-tobias.de>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

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

  Log Message:
  -----------
  Fix comments


Compare: https://github.com/llvm/llvm-project/compare/c210cf3ee741%5E...68cbd6e096ca

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