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

Brandon Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 17:58:15 PST 2024


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

Good point, thanks!

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


More information about the llvm-commits mailing list