[all-commits] [llvm/llvm-project] 6cff1c: [SLP]Look through truncation of shifted extracted ...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Sun Sep 27 09:06:07 PDT 2026


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

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

  Log Message:
  -----------
  [SLP]Look through truncation of shifted extracted sub-fields

The masked sub-field of the shifted truncation of a wider scalar was
matched with the truncation as its source, while the other fields
matched the scalar itself, so the gather of the fields was rejected.
The field is within the truncated bits, look through the truncation.

Fixes #74380

Reviewers: 

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



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