[llvm] [RISCV] Add extension information to RISCVFeatures.td. NFC (PR #89326)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 22:27:56 PDT 2024


================
@@ -10,115 +10,129 @@
 // RISC-V subtarget features and instruction predicates.
 //===----------------------------------------------------------------------===//
 
+class RISCVExtension<string n, int major, int minor, string f, string v,
+                     string d, list<RISCVExtension> i = []>
----------------
wangpc-pp wrote:

And other single-letter variables? Though they come from Target.td, but I think we should make it verbose so that they are friendly to new comers.

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


More information about the llvm-commits mailing list