diff --git a/llvm/include/llvm/MC/MCSubtargetInfo.h b/llvm/include/llvm/MC/MCSubtargetInfo.h --- a/llvm/include/llvm/MC/MCSubtargetInfo.h +++ b/llvm/include/llvm/MC/MCSubtargetInfo.h @@ -226,6 +226,10 @@ return Found != ProcDesc.end() && StringRef(Found->Key) == CPU; } + ArrayRef getCPUTable() const { return ProcDesc; } + + ArrayRef getFeatureTable() const { return ProcFeatures; } + virtual unsigned getHwMode() const { return 0; } /// Return the cache size in bytes for the given level of cache.