[clang] [llvm] [RISCV] Support RISC-V Profiles in -march option (PR #76357)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 7 23:45:17 PST 2024
================
@@ -0,0 +1,189 @@
+//===------ RISCVProfiles.td - RISC-V Profiles -------------*- tablegen -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+class RISCVProfile<string name, list<SubtargetFeature> features>
----------------
topperc wrote:
I don't think profiles need to be part of subtarget features. They should just be expanded to extensions in RISCVISAInfo.cpp
https://github.com/llvm/llvm-project/pull/76357
More information about the cfe-commits
mailing list