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

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Sep 4 04:55:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af1e59aea2ea7d07ece1f34621dda38c995826a3
      https://github.com/llvm/llvm-project/commit/af1e59aea2ea7d07ece1f34621dda38c995826a3
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-09-04 (Wed, 04 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