[PATCH] D103952: [CostModel][AArch64] Improve the cost estimate of CTPOP intrinsic

Rosie Sumpter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 9 04:01:37 PDT 2021


RosieSumpter created this revision.
RosieSumpter added reviewers: SjoerdMeijer, dmgreen.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
RosieSumpter requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103952

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/ctpop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103952.350846.patch
Type: text/x-patch
Size: 9167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210609/66dd3e07/attachment.bin>


More information about the llvm-commits mailing list