[llvm] [RISCV][MC] Add support for experimental Zimop extension (PR #75182)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 09:51:53 PST 2023


================
@@ -687,6 +687,11 @@ def HasStdExtZicond : Predicate<"Subtarget->hasStdExtZicond()">,
                                 AssemblerPredicate<(all_of FeatureStdExtZicond),
                                 "'Zicond' (Integer Conditional Operations)">;
 
+def FeatureStdExtZimop : SubtargetFeature<"experimental-zimop", "HasStdExtZimop", "true",
+                                          "'Zimop' (May-Be-Operations)">;
+def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">,
+                               AssemblerPredicate<(all_of FeatureStdExtZimop),
+                               "'Zimop' (May-Be-Operations)">;
----------------
topperc wrote:

Add blank line after this.

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


More information about the llvm-commits mailing list