[llvm-branch-commits] [llvm] [TableGen][AsmMatcher] Support passing STI to AsmOperandClass predicates (PR #241024)
Alexander Richardson via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Nov 13 00:10:18 PST 2026
================
@@ -200,6 +200,9 @@ struct ClassInfo {
/// operand matches this class; this is not valid for Token or register kinds.
std::string PredicateMethod;
+ /// Whether PredicateMethod takes `const MCSubtargetInfo &STI`.
+ bool PredicatePassSubtarget = false;
----------------
arichardson wrote:
Updated to use PredicateUsesSubtarget
https://github.com/llvm/llvm-project/pull/241024
More information about the llvm-branch-commits
mailing list