Moving this to base class TargetTransformInfoImplCRTPBase allows static_cast to a subtarget so that calls to e.g. getMemcpyCost go the overridden functions.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D59706
[TTI] Move getIntrinsicCost to allow functions to be overridden. NFC. ClosedPublic Authored by SjoerdMeijer on Mar 22 2019, 10:24 AM.
Details Summary Moving this to base class TargetTransformInfoImplCRTPBase allows static_cast to a subtarget so that calls to e.g. getMemcpyCost go the overridden functions.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 23 2019, 5:34 AM Closed by commit rL356873: [TTI] Move getIntrinsicCost to allow functions to be overridden. NFC (authored by SjoerdMeijer). · Explain WhyMar 25 2019, 1:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 191907 include/llvm/Analysis/TargetTransformInfoImpl.h
|