[clang] [llvm] [RISCV] Add subtarget features for profiles (PR #84877)
Kito Cheng via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 26 00:57:16 PDT 2024
================
@@ -138,6 +155,8 @@ class RISCVSubtarget : public RISCVGenSubtargetInfo {
/// initializeProperties().
RISCVProcFamilyEnum getProcFamily() const { return RISCVProcFamily; }
+ RISCVProfileEnum getRISCVProfile() const { return RISCVProfile; }
+
----------------
kito-cheng wrote:
I guess it little bit same situation like those macro extensions, so what if user manually specify all extension present in certain profile? does it will detect right when invoke `getRISCVProfile`?
https://github.com/llvm/llvm-project/pull/84877
More information about the cfe-commits
mailing list