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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Mar 30 00:43:48 PDT 2025


  Branch: refs/heads/users/arsenm/llvm-reduce/add-reduce-values-to-return-argument-case
  Home:   https://github.com/llvm/llvm-project
  Commit: 349a15d2581c6701f947eeeb0dee6ad4728d8a58
      https://github.com/llvm/llvm-project/commit/349a15d2581c6701f947eeeb0dee6ad4728d8a58
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-03-30 (Sun, 30 Mar 2025)

  Changed paths:
    A llvm/test/tools/llvm-reduce/reduce-values-to-return-args.ll
    M llvm/test/tools/llvm-reduce/reduce-values-to-return-nonvoid-noncallee-use.ll
    M llvm/test/tools/llvm-reduce/reduce-values-to-return.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.



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