[clang] [llvm] [RISCV] Support RISC-V Profiles in -march option (PR #76357)
    Craig Topper via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 18 16:34:58 PDT 2024
    
    
  
================
@@ -244,6 +249,42 @@ static const RISCVSupportedExtension SupportedExperimentalExtensions[] = {
 };
 // clang-format on
 
+static const RISCVProfile SupportedProfiles[] = {
----------------
topperc wrote:
`const` -> `constexpr` to be sure the StringLiteral constexpr constructor gets invoked.
https://github.com/llvm/llvm-project/pull/76357
    
    
More information about the llvm-commits
mailing list