[all-commits] [llvm/llvm-project] 5adfad: [SLP]Emit actual bitwidth for analyzed MinBitwidth...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Nov 14 11:16:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5adfad254edb765fbbabdf5e7521cfb3111dfeb1
      https://github.com/llvm/llvm-project/commit/5adfad254edb765fbbabdf5e7521cfb3111dfeb1
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/gather-reduce.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/trunc-insertion.ll
    M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-cast.ll
    M llvm/test/Transforms/SLPVectorizer/X86/partail.ll
    M llvm/test/Transforms/SLPVectorizer/X86/root-trunc-extract-reuse.ll

  Log Message:
  -----------
  [SLP]Emit actual bitwidth for analyzed MinBitwidth nodes, NFCI.

SLP includes analysis for the minimum bitwidth, the actual integer
operations can be emitted. It allows to reduce register pressure and
improve perf. Currently, it includes only cost model and the next
transformation relies on InstructionCombiner. Better to do it directly
in SLP, it allows to reduce compile time and fix cost model issues.




More information about the All-commits mailing list