commit | a355fbf680800618640081aefabc6c906f935e73 | [log] [tgz] |
---|---|---|
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | Mon Mar 25 08:54:47 2019 +0000 |
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | Mon Mar 25 08:54:47 2019 +0000 |
tree | abb729b4812715d9890f258140ec9c09626bb6cb | |
parent | fa60fe0a8f358563cbd4219811de57204036c7b7 [diff] |
[TTI] Move getIntrinsicCost to allow functions to be overridden. NFC Moving this to base class TargetTransformInfoImplCRTPBase allows static_cast to a subtarget so that calls to e.g. getMemcpyCost actually go the overridden functions. Differential revision: https://reviews.llvm.org/D59706 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356873 91177308-0d34-0410-b5e6-96231b3b80d8