[PATCH] D59706: [TTI] Move getIntrinsicCost to allow functions to be overridden. NFC.
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 10:24:30 PDT 2019
SjoerdMeijer created this revision.
SjoerdMeijer added a reviewer: dmgreen.
Moving this to base class TargetTransformInfoImplCRTPBase allows static_cast to a subtarget so that calls to e.g. getMemcpyCost go the overridden functions.
https://reviews.llvm.org/D59706
Files:
include/llvm/Analysis/TargetTransformInfoImpl.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59706.191907.patch
Type: text/x-patch
Size: 3728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190322/ce562ba0/attachment.bin>
More information about the llvm-commits
mailing list