[all-commits] [llvm/llvm-project] 0d4179: [SLP] Add cost model for `llvm.powi.*` intrinsics ...

Nabeel Omer via All-commits all-commits at lists.llvm.org
Fri Jun 24 03:24:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d41794335761feec5d00282abf7ebf5cf8a02a0
      https://github.com/llvm/llvm-project/commit/0d41794335761feec5d00282abf7ebf5cf8a02a0
  Author: Nabeel Omer <Nabeel.Omer at sony.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll
    M llvm/test/Analysis/CostModel/X86/powi.ll
    M llvm/test/Transforms/SLPVectorizer/X86/powi-regression.ll
    M llvm/test/Transforms/SLPVectorizer/X86/powi.ll

  Log Message:
  -----------
  [SLP] Add cost model for `llvm.powi.*` intrinsics (REAPPLIED)

Patch was reverted in 4c5f10a due to buildbot failures, now being
reapplied with updated AArch64 and RISCV tests.

This patch adds handling for the llvm.powi.* intrinsics in
BasicTTIImplBase::getIntrinsicInstrCost() and improves vectorization.
Closes #53887.

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




More information about the All-commits mailing list