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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 20:33:41 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);
----------------
arsenm wrote:

Seems unrelated?

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


More information about the llvm-commits mailing list