[clang] [llvm] [NFC] [RISCV] Refactor class RISCVExtension (PR #120040)

Shao-Ce SUN via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 01:07:01 PST 2024


================
@@ -12,21 +12,32 @@
 
 // Subclass of SubtargetFeature to be used when the feature is also a RISC-V
 // extension. Extensions have a version and may be experimental.
+// NOTE: The extension name must start with
+//       - "FeatureStdExt" for standard extensions
+//       - "FeatureVendor" for vendor-specific extensions
 //
-// name      - Name of the extension in lower case.
 // major     - Major version of extension.
 // minor     - Minor version of extension.
-// desc      - Description of extension.
----------------
sunshaoce wrote:

Done. Thanks!

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


More information about the llvm-commits mailing list