[all-commits] [llvm/llvm-project] 2cb3d6: [LV] NFCI: Create VPExpressions in transformToPart...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Thu Apr 16 06:08:04 PDT 2026


  Branch: refs/heads/users/sdesmalen-arm/lv-create-partial-reductions-only-when-profitable-vpexpressions
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cb3d69c0cb6d57130d074afc6f2b57a49de9bb4
      https://github.com/llvm/llvm-project/commit/2cb3d69c0cb6d57130d074afc6f2b57a49de9bb4
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [LV] NFCI: Create VPExpressions in transformToPartialReductions.

With this change, all logic to generate partial reductions and
recognising them as VPExpressions is contained in
`transformToPartialReductions`, without the need for a second
transform pass.
The PR intends to be a non-functional change.


  Commit: 2d62a2e272bf38dc9637ab5b2996e20e4619ff11
      https://github.com/llvm/llvm-project/commit/2d62a2e272bf38dc9637ab5b2996e20e4619ff11
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  Address review comments


  Commit: b276ef7dce9c940baeedc397763a6dc5459fa86b
      https://github.com/llvm/llvm-project/commit/b276ef7dce9c940baeedc397763a6dc5459fa86b
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  Address review comments


  Commit: d42c9d55fbaaa1ac052f6f364198d9e537bca624
      https://github.com/llvm/llvm-project/commit/d42c9d55fbaaa1ac052f6f364198d9e537bca624
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  Address comments

* Limit support to 'mul/fmul' binops.
* assert that a VPExpression can be used to represent a partial reduction.
* Remove dead code from tryToMatchAndCreateExtendedReduction and tryToMatchAndCreateMulAccumulateReduction.


Compare: https://github.com/llvm/llvm-project/compare/1c4e97852e0e...d42c9d55fbaa

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