diff options
author | David Greene <greened@obbligato.org> | 2019-07-10 18:25:58 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2019-07-10 18:25:58 +0000 |
commit | d300a493df36775f1c85a6ed1dc10196865252b0 (patch) | |
tree | e6609687d43132963d364c419efdea10bfd2904c /llvm/lib/MC/MCSubtargetInfo.cpp | |
parent | f4572249d78d13b16cb287500a3bcd226ececb31 (diff) | |
download | bcm5719-llvm-d300a493df36775f1c85a6ed1dc10196865252b0.tar.gz bcm5719-llvm-d300a493df36775f1c85a6ed1dc10196865252b0.zip |
Revert "[System Model] [TTI] Update cache and prefetch TTI interfaces"
This broke some PPC prefetching tests.
This reverts commit 9fdfb045ae8bb643ab0d0455dcf9ecaea3b1eb3c.
llvm-svn: 365680
Diffstat (limited to 'llvm/lib/MC/MCSubtargetInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCSubtargetInfo.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/llvm/lib/MC/MCSubtargetInfo.cpp b/llvm/lib/MC/MCSubtargetInfo.cpp index 00801deef8f..5fd48d9e101 100644 --- a/llvm/lib/MC/MCSubtargetInfo.cpp +++ b/llvm/lib/MC/MCSubtargetInfo.cpp @@ -315,28 +315,3 @@ void MCSubtargetInfo::initInstrItins(InstrItineraryData &InstrItins) const { InstrItins = InstrItineraryData(getSchedModel(), Stages, OperandCycles, ForwardingPaths); } - -Optional<unsigned> MCSubtargetInfo::getCacheSize(unsigned Level) const { - return Optional<unsigned>(); -} - -Optional<unsigned> -MCSubtargetInfo::getCacheAssociativity(unsigned Level) const { - return Optional<unsigned>(); -} - -Optional<unsigned> MCSubtargetInfo::getCacheLineSize(unsigned Level) const { - return Optional<unsigned>(); -} - -unsigned MCSubtargetInfo::getPrefetchDistance() const { - return 0; -} - -unsigned MCSubtargetInfo::getMaxPrefetchIterationsAhead() const { - return 0; -} - -unsigned MCSubtargetInfo::getMinPrefetchStride() const { - return 0; -} |