[System Model] [TTI] Move default cache/prefetch implementations
commit4f2b50c62d3dd6b86f75f302f70be0bcca11f9b5
authorDavid Greene <greened@obbligato.org>
Thu, 10 Oct 2019 20:39:27 +0000 (10 20:39 +0000)
committerDavid Greene <greened@obbligato.org>
Thu, 10 Oct 2019 20:39:27 +0000 (10 20:39 +0000)
treec503c01065f0c81207294b2930771c72eb44fda3
parent23b9ae8da9cd22b96ff73662d0b953d674c01cca
[System Model] [TTI] Move default cache/prefetch implementations

Move the default implementations of cache and prefetch queries to
TargetTransformInfoImplBase and delete them from NoTIIImpl.  This brings these
interfaces in line with how other TTI interfaces work.

Differential Revision: https://reviews.llvm.org/D68804

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374446 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/CodeGen/BasicTTIImpl.h
lib/Analysis/TargetTransformInfo.cpp