[PATCH] D106795: [Analysis] Fix getOrderedReductionCost to call target's getArithmeticInstrCost implementation

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 26 08:10:19 PDT 2021


RKSimon created this revision.
RKSimon added reviewers: david-arm, sdesmalen, dmgreen.
RKSimon requested review of this revision.
Herald added a project: LLVM.

The getOrderedReductionCost implementation introduced in D105432 <https://reviews.llvm.org/D105432> calls the CRTP base version getArithmeticInstrCost instead of the redirecting to the target version.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106795

Files:
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/test/Analysis/CostModel/X86/reduce-fadd.ll
  llvm/test/Analysis/CostModel/X86/reduce-fmul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106795.361665.patch
Type: text/x-patch
Size: 40429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210726/1821969d/attachment.bin>


More information about the llvm-commits mailing list