[llvm] [SelectionDAG] Add space-optimized forms of OPC_CheckPatternPredicate (PR #73319)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 03:44:59 PST 2024


================
@@ -602,6 +603,7 @@ bool MatcherGen::EmitMatcherCode(unsigned Variant) {
 
     // Emit a CheckComplexPat operation, which does the match (aborting if it
     // fails) and pushes the matched operands onto the recorded nodes list.
+    CGP.increaseComplexPatternUsage(CP);
----------------
wangpc-pp wrote:

This is from parent commit, not this PR.

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


More information about the llvm-commits mailing list