[all-commits] [llvm/llvm-project] 031cec: llvm-reduce: Reduce with early return of arguments

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri May 2 07:11:51 PDT 2025


  Branch: refs/heads/users/arsenm/llvm-reduce/add-reduce-values-to-return-argument-case
  Home:   https://github.com/llvm/llvm-project
  Commit: 031cec3aa73d9c4fa3308de42a1997ce02958163
      https://github.com/llvm/llvm-project/commit/031cec3aa73d9c4fa3308de42a1997ce02958163
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    A llvm/test/tools/llvm-reduce/reduce-values-to-return-args.ll
    M llvm/tools/llvm-reduce/DeltaPasses.def
    M llvm/tools/llvm-reduce/deltas/ReduceValuesToReturn.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceValuesToReturn.h

  Log Message:
  -----------
  llvm-reduce: Reduce with early return of arguments

Extend the instruction -> return reduction with one that inserts
return of function arguments. Not sure how useful this really is. This
has more freedom since we could insert the return anywhere in the function,
but this just inserts the return in the entry block.


  Commit: c48d5d5ffbc50e84baa7cc797ebb7e78a9efd20f
      https://github.com/llvm/llvm-project/commit/c48d5d5ffbc50e84baa7cc797ebb7e78a9efd20f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M llvm/test/tools/llvm-reduce/reduce-values-to-return-args.ll

  Log Message:
  -----------
  test work


Compare: https://github.com/llvm/llvm-project/compare/53a063ec236d...c48d5d5ffbc5

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