[all-commits] [llvm/llvm-project] c09548: [SLP]Initial compatibility support for shl v, 1 an...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Apr 16 07:33:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c095488da4586f4d98c13f9793088b444e686a4a
      https://github.com/llvm/llvm-project/commit/c095488da4586f4d98c13f9793088b444e686a4a
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/same-node-reused.ll
    M llvm/test/Transforms/SLPVectorizer/X86/deleted-instructions-clear.ll
    M llvm/test/Transforms/SLPVectorizer/X86/entries-different-vf.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-shl1-add-merge.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shl-compatible-with-add.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shl-to-add-transformation.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shl-to-add-transformation5.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shll1-add-sub-combined.ll

  Log Message:
  -----------
  [SLP]Initial compatibility support for shl v, 1 and add v, v

Allows to make shl v, 1 to be compatible with add operations by
modeling it as add v,v

Fixes #40801

Reviewers: bababuck, hiraditya, RKSimon

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



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