[llvm] [ARM] Specify inlining behavior in TableGen (PR #205763)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 05:57:17 PDT 2026


================
@@ -538,16 +585,19 @@ def FeaturePACBTI         : SubtargetFeature<"pacbti", "HasPACBTI", "true",
                                              "Target Identification">;
 
 /// Don't place a BTI instruction after return-twice constructs (setjmp).
+// TODO: Does this need to be InlineMustMatch?
 def FeatureNoBTIAtReturnTwice : SubtargetFeature<"no-bti-at-return-twice",
                                                  "NoBTIAtReturnTwice", "true",
                                                  "Don't place a BTI instruction "
-                                                 "after a return-twice">;
+                                                 "after a return-twice",
+                                                 [], InlineMustMatch>;
 
 // Armv8.9-A/Armv9.4-A 2022 Architecture Extensions
 def FeatureCLRBHB : SubtargetFeature<"clrbhb", "HasCLRBHB", "true",
                                      "Enable Clear BHB instruction">;
 
 
+// TODO: Does this need to be InlineMustMatch?
----------------
davemgreen wrote:

This can be removed now.

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


More information about the llvm-commits mailing list