[llvm] [RISCV] Add getFeaturesForCPU function support (PR #83269)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 08:57:30 PST 2024


================
@@ -95,5 +96,31 @@ void fillValidTuneCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64) {
 #include "llvm/TargetParser/RISCVTargetParserDef.inc"
 }
 
+void getFeaturesForCPU(StringRef CPU,
----------------
topperc wrote:

This code is dead in tree. We should have a comment indicating why it shouldn't be deleted.

https://github.com/llvm/llvm-project/pull/83269


More information about the llvm-commits mailing list