[all-commits] [llvm/llvm-project] d7c219: [CostModel][AArch64] Improve the cost estimate of ...

RosieSumpter via All-commits all-commits at lists.llvm.org
Fri Jun 11 03:23:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7c219a506ec9aabe7c5d36c0da55656af487b73
      https://github.com/llvm/llvm-project/commit/d7c219a506ec9aabe7c5d36c0da55656af487b73
  Author: Rosie Sumpter <rosie.sumpter at arm.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/ctpop.ll

  Log Message:
  -----------
  [CostModel][AArch64] Improve the cost estimate of CTPOP intrinsic

Added a case for CTPOP to AArch64TTIImpl::getIntrinsicInstrCost so that
the cost estimate matches the codegen in
test/CodeGen/AArch64/arm64-vpopcnt.ll

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




More information about the All-commits mailing list