[clang] [llvm] [RISCV] Support RISC-V Profiles in -march option (PR #76357)
    Craig Topper via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 19 20:22:58 PST 2024
    
    
  
================
@@ -138,6 +150,8 @@ class RISCVSubtarget : public RISCVGenSubtargetInfo {
   /// initializeProperties().
   RISCVProcFamilyEnum getProcFamily() const { return RISCVProcFamily; }
 
+  RISCVProfileEnum getRISCVProfile() const { return RISCVProfile; }
----------------
topperc wrote:
Why do we need profile in Subtarget?
https://github.com/llvm/llvm-project/pull/76357
    
    
More information about the llvm-commits
mailing list