[all-commits] [llvm/llvm-project] 2cbcf3: [AArch64][SVE]Add cost model for broadcast shuffle

CarolineConcatto via All-commits all-commits at lists.llvm.org
Wed Feb 3 01:56:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cbcf3e297d1ca210118e21fca6c5e55e22f23be
      https://github.com/llvm/llvm-project/commit/2cbcf3e297d1ca210118e21fca6c5e55e22f23be
  Author: Caroline Concatto <caroline.concatto at arm.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/AArch64/sve-shuffle-broadcast.ll

  Log Message:
  -----------
  [AArch64][SVE]Add cost model for broadcast shuffle

This patch adds a cost model for  SK_Broadcast in
AArch64TTIImpl::getShuffleCost with scalable vector.
Without this patch, the scalable vector type relies on  BasicTTIImpl cost
implementation and assert.

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




More information about the All-commits mailing list