[all-commits] [llvm/llvm-project] c20e23: [SLP] Replace TrackedToOrig DenseMap with parallel...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Mar 31 16:23:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c20e233020c43e87be08f36d0ca5287bb69ea9f4
      https://github.com/llvm/llvm-project/commit/c20e233020c43e87be08f36d0ca5287bb69ea9f4
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-03-31 (Tue, 31 Mar 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/constant-based-reductions.ll

  Log Message:
  -----------
  [SLP] Replace TrackedToOrig DenseMap with parallel SmallVector in reduction

Replace the DenseMap<Value*, Value*> TrackedToOrig with a SmallVector<Value*>
indexed in parallel with Candidates. This avoids hash-table overhead for the
tracked-value-to-original-value mapping in horizontal reduction processing.

Fixes #189686



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