[all-commits] [llvm/llvm-project] 67005b: [SLP]Model gathers of extracted integer sub-fields...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Sep 24 11:52:17 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h
    M llvm/test/Transforms/PhaseOrdering/AArch64/scalarize-load-ext-extract.ll
    M llvm/test/Transforms/PhaseOrdering/X86/avg.ll
    M llvm/test/Transforms/SLPVectorizer/ARM/extracted-subfields-cost.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extracted-subfields.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduce-or-bitpack.ll

  Log Message:
  -----------
  [SLP]Model gathers of extracted integer sub-fields as bitcast+permute+ext

Emit gathered zero-extended sub-fields of one wider integer scalar as a
bitcast to the field vector plus a permutation and an extension, instead
of an insertelement chain or a splat-shift+trunc tree.

Fixes #55693

Assisted-by: Cursor

Reviewers: RKSimon, bababuck

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



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