[llvm] [TableGen][SchedModel] Introduce a new SchedPredicate that checks against SubtargetFeature (PR #161888)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 3 18:28:47 PDT 2025


================
@@ -1586,6 +1586,23 @@ static void emitPredicates(const CodeGenSchedTransition &T,
         continue;
       }
 
+      if (Rec->isSubClassOf("FeatureSchedPredicate")) {
+        const Record *FR = Rec->getValueAsDef("Feature");
+        if (PE.shouldExpandForMC())
----------------
mshockwave wrote:

Fixed.

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


More information about the llvm-commits mailing list