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

Nabeel Omer via All-commits all-commits at lists.llvm.org
Tue Jun 21 07:41:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6ccb57bb3f6b761f2310e97fd6ca99eff42f73e
      https://github.com/llvm/llvm-project/commit/e6ccb57bb3f6b761f2310e97fd6ca99eff42f73e
  Author: Nabeel Omer <Nabeel.Omer at sony.com>
  Date:   2022-06-21 (Tue, 21 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/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

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