[clang] [llvm] [RISCV][MC] Add MC support of Zibi experimental extension (PR #127463)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 08:19:29 PDT 2025


================
@@ -78,6 +78,12 @@ def FeatureStdExtE
     : RISCVExtension<2, 0, "Embedded Instruction Set with 16 GPRs">,
       RISCVExtensionBitmask<0, 4>;
 
+def FeatureStdExtZibi
+    : RISCVExperimentalExtension<0, 1, "Branch with Immediate">;
+def HasStdExtZibi : Predicate<"Subtarget->hasStdExtZibi()">,
+                      AssemblerPredicate<(all_of FeatureStdExtZibi),
----------------
topperc wrote:

indented 2 spaces too far

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


More information about the llvm-commits mailing list