[all-commits] [llvm/llvm-project] dab19d: [SLP]Fix a crash for the strided nodes with revers...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Aug 23 07:39:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dab19dac94eee19483ba1a7c37bdec4b8501acc3
      https://github.com/llvm/llvm-project/commit/dab19dac94eee19483ba1a7c37bdec4b8501acc3
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-08-23 (Fri, 23 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/RISCV/reversed-strided-node-with-external-ptr.ll

  Log Message:
  -----------
  [SLP]Fix a crash for the strided nodes with reversed order and externally used pointer.

If the strided node is reversed, need to cehck for the last instruction,
not the first one in the list of scalars, when checking if the root
pointer must be extracted.



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