[all-commits] [llvm/llvm-project] 98bb35: [SLP]Fix PR107037: correctly track origonal/modifi...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Sep 3 15:52:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98bb354a0add4aeb614430f48a23f87992166239
      https://github.com/llvm/llvm-project/commit/98bb354a0add4aeb614430f48a23f87992166239
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/multi-tracked-reduced-value.ll

  Log Message:
  -----------
  [SLP]Fix PR107037: correctly track origonal/modified after vectorizations reduced values

Need to correctly track reduced values with multiple uses in the same
reduction emission attempt. Otherwise, the number of the reuses might be
calculated incorrectly, and may cause compiler crash.

Fixes https://github.com/llvm/llvm-project/issues/107037



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