[clang] [llvm] [CHERIoT] Define a RISCV target feature for XCheriot. (PR #189968)

Owen Anderson via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 6 02:26:41 PDT 2026


================
@@ -1750,6 +1750,13 @@ def HasXAIFET : Predicate<"Subtarget->hasXAIFET()">,
                           AssemblerPredicate<(all_of FeatureVendorXAIFET),
                           "'XAIFET' (AI Foundry ET Extension)">;
 
+def FeatureVendorXCheriot
+    : RISCVExtension<1, 0, "CHERIoT extension",
+    [FeatureStdExtC, FeatureStdExtE, FeatureStdExtM]>;
----------------
resistor wrote:

I could alternatively omit the dependency list entirely for now, since what I really need is the name to be recognized.

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


More information about the cfe-commits mailing list