[llvm-branch-commits] [clang] [llvm] [RISCV] Add subtarget features for profiles (PR #84877)

Brandon Wu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 26 06:21:38 PDT 2024


================
@@ -0,0 +1,204 @@
+//===------ 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>
+    : SubtargetFeature<name, "RISCVProfile", NAME,
----------------
4vtomat wrote:

And we can remove `RISCVProfileEnum` and `RISCVProfile`

https://github.com/llvm/llvm-project/pull/84877


More information about the llvm-branch-commits mailing list