[clang] [llvm] [RISCV][MC] Add support for experimental Zcmop extension (PR #76395)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 26 15:21:17 PST 2023


================
@@ -693,6 +693,13 @@ def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">,
                                AssemblerPredicate<(all_of FeatureStdExtZimop),
                                "'Zimop' (May-Be-Operations)">;
 
+def FeatureStdExtZcmop : SubtargetFeature<"experimental-zcmop", "HasStdExtZcmop", "true",
+                                          "'Zcmop' (Compressed May-Be-Operations)",
+                                          [FeatureStdExtZca]>;
----------------
topperc wrote:

Any features implications in RISCV.td must also exist in RISCVISAInfo.cpp.

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


More information about the cfe-commits mailing list