[clang] [llvm] [RISCV] Support RISC-V Profiles in -march option (PR #76357)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 20:22:56 PST 2024


================
@@ -80,6 +80,7 @@ class RISCVISAInfo {
   unsigned getMaxVLen() const { return 65536; }
   unsigned getMaxELen() const { return MaxELen; }
   unsigned getMaxELenFp() const { return MaxELenFp; }
+  std::string getProfile() const { return Profile; }
----------------
topperc wrote:

`const std::string &` or StringRef

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


More information about the cfe-commits mailing list