[all-commits] [llvm/llvm-project] ac01ae: [SLP]Use ShuffleInstructionBuilder for vector shri...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Dec 28 06:11:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac01ae71f0c4a67194f92da3d6e6733b689ec087
      https://github.com/llvm/llvm-project/commit/ac01ae71f0c4a67194f92da3d6e6733b689ec087
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-12-28 (Wed, 28 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder.ll
    M llvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder2.ll

  Log Message:
  -----------
  [SLP]Use ShuffleInstructionBuilder for vector shrinking.

We can use ShuffleInstructionBuilder now for shrinking shuffle emission.
It allows to remove extra shuffle from the emitted code and reuse
original vector.

Part of D110978

Differential Revision: https://reviews.llvm.org/D140499




More information about the All-commits mailing list