[all-commits] [llvm/llvm-project] 2bdc29: [SLP]Pack unique consecutive loads instead of gath...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Sat Oct 3 04:32:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bdc29f4239e7c0691ebf6f80903d5914c050bcf
      https://github.com/llvm/llvm-project/commit/2bdc29f4239e7c0691ebf6f80903d5914c050bcf
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/duplicated-lane-consecutive-loads.ll

  Log Message:
  -----------
  [SLP]Pack unique consecutive loads instead of gathering duplicated lanes

A load bundle with duplicated lanes whose unique loads are consecutive
was kept as is and emitted as a masked gather. Pack the unique loads
into a single wide load plus a reuse shuffle, unless the target reports
the masked gather as cheaper.

Reviewers: 

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



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