[clang] [llvm] [RISCV] Add subtarget features for profiles (PR #84877)
Pengcheng Wang via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 26 01:07:35 PDT 2024
================
@@ -138,6 +155,8 @@ class RISCVSubtarget : public RISCVGenSubtargetInfo {
/// initializeProperties().
RISCVProcFamilyEnum getProcFamily() const { return RISCVProcFamily; }
+ RISCVProfileEnum getRISCVProfile() const { return RISCVProfile; }
+
----------------
wangpc-pp wrote:
Curently no, but we can support them in `RISCVISAInfo::updateCombination()`.
And I don't know if we need `getRISCVProfile` function, maybe we should remove it because there is no user.
https://github.com/llvm/llvm-project/pull/84877
More information about the cfe-commits
mailing list