[all-commits] [llvm/llvm-project] 02f6ea: [SLP]Extract vectorized source of gathered sub-fields

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Sep 25 04:07:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02f6eaf60dcc3794ed563c0d3953de2d029f024f
      https://github.com/llvm/llvm-project/commit/02f6eaf60dcc3794ed563c0d3953de2d029f024f
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/extracted-subfields.ll

  Log Message:
  -----------
  [SLP]Extract vectorized source of gathered sub-fields

The bitcast emitted for gathered sub-fields used the source scalar
directly, even if it was vectorized and erased, causes the crash,
register the bitcast as an external user of the vectorized source.

Fixes the crash reported in #224919.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/226437



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