[all-commits] [llvm/llvm-project] 50822d: [SLP]Do not request the last instruction for first...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Mar 11 10:11:47 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/reduction-root-node-with-no-state-but-gathered-loads.ll

  Log Message:
  -----------
  [SLP]Do not request the last instruction for first buildvector nodes with no state

If looking for the match of the gather/buildvector node and its root is
a first node, which also a buildvector/gather, and has no state, we
should skip the analysis for such nodes to prevent a compiler crash

Fixes #185851



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