[all-commits] [llvm/llvm-project] 0e7ed3: [SLP]Cost for a constant buildvector.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Fri Aug 19 08:04:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e7ed32c71362f3547329c6ee8573a8bc191f58a
      https://github.com/llvm/llvm-project/commit/0e7ed32c71362f3547329c6ee8573a8bc191f58a
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-08-19 (Fri, 19 Aug 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Analysis/CostModel/X86/arith-fp.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/rvv-min-vector-size.ll
    M llvm/test/Transforms/SLPVectorizer/X86/crash_bullet.ll

  Log Message:
  -----------
  [SLP]Cost for a constant buildvector.

In many cases constant buildvector results in a vector load from a
constant/data pool. Need to consider this cost too.

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




More information about the All-commits mailing list