================
@@ -378,6 +370,14 @@ def FeatureStdExtZca
                      "part of the C extension, excluding compressed "
                      "floating point loads/stores">;
 
+def FeatureStdExtC
+    : RISCVExtension<2, 0, "Compressed Instructions", [FeatureStdExtZca]>,
+      RISCVExtensionBitmask<0, 2>;
+def HasStdExtC : Predicate<"Subtarget->hasStdExtC()">,
+                 AssemblerPredicate<(all_of FeatureStdExtC),
+                                    "'C' (Compressed Instructions)">;
+
+
 def HasStdExtCOrZca
     : Predicate<"Subtarget->hasStdExtCOrZca()">,
       AssemblerPredicate<(any_of FeatureStdExtC, FeatureStdExtZca),
----------------
jaidTw wrote:

Thanks for the pointer, I will take a look on it

https://github.com/llvm/llvm-project/pull/132259
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to