[llvm] [SelectionDAG] Add space-optimized forms of OPC_CheckPredicate (PR #77763)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 19:26:10 PST 2024


================
@@ -88,6 +87,8 @@ class MatcherTableEmitter {
     DenseMap<const ComplexPattern *, unsigned> ComplexPatternUsage;
     // Record the usage of PatternPredicate.
     std::map<StringRef, unsigned> PatternPredicateUsage;
+    // Record the usage of Predicate.
+    DenseMap<TreePattern *, unsigned> PredicateUsage;
----------------
wangpc-pp wrote:

Thanks!

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


More information about the llvm-commits mailing list