[all-commits] [llvm/llvm-project] 4e030a: [SLP][NFC]Cache MightBeIgnored result in gather-sh...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Apr 28 06:32:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e030aeec015d33e68197755923c11dc5f62e968
      https://github.com/llvm/llvm-project/commit/4e030aeec015d33e68197755923c11dc5f62e968
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

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

  Log Message:
  -----------
  [SLP][NFC]Cache MightBeIgnored result in gather-shuffle analysis

Each V in VL is queried up to 3 times for MightBeIgnored (direct +
NeighborMightBeIgnored from both neighbors), and the underlying
areAllUsersVectorized walks the instruction's user list. Memoize per
Value pointer to avoid the redundant walks.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/194619



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