[all-commits] [llvm/llvm-project] 3e6232: [LoopVectorize] Make collectInLoopReductions more ...

David Sherwood via All-commits all-commits at lists.llvm.org
Wed Feb 12 06:05:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e62321ed9bb4f94c901d9c4286b15e5619206e6
      https://github.com/llvm/llvm-project/commit/3e62321ed9bb4f94c901d9c4286b15e5619206e6
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

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

  Log Message:
  -----------
  [LoopVectorize] Make collectInLoopReductions more efficient (#126769)

We call collectInLoopReductions in multiple places asking
the same question with exactly the same answer. For
example, this was being called from a loop in
calculateRegisterUsage and this patch hoists the call out
to above the loop. In addition I've changed
collectInLoopReductions so that it bails out if we've
already built up a list.



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