[all-commits] [llvm/llvm-project] 39f3da: [LV] Create in-loop sub reductions

Sam Tebbs via All-commits all-commits at lists.llvm.org
Sun Jul 6 14:27:44 PDT 2025


  Branch: refs/heads/users/SamTebbs33/sub-reductions
  Home:   https://github.com/llvm/llvm-project
  Commit: 39f3dab6bb392a79e1888fc1c9aa82d9259c5576
      https://github.com/llvm/llvm-project/commit/39f3dab6bb392a79e1888fc1c9aa82d9259c5576
  Author: Samuel Tebbs <samuel.tebbs at arm.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M llvm/lib/Analysis/IVDescriptors.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll

  Log Message:
  -----------
  [LV] Create in-loop sub reductions

This PR allows the loop vectorizer to handle sub reductions by forming a
normal add reduction with a negated input.



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