================
@@ -103,7 +151,10 @@ struct IdiomRecognizerPass
 
 void IdiomRecognizerPass::recognizeStandardLibraryCall(
     CallOp call, mlir::SymbolTableCollection &symbolTables) {
-  StdRecognizer<StdFindOp>::raise(call, getContext(), symbolTables);
+  if (StdRecognizer<StdFindOp>::raise(call, getContext(), symbolTables))
----------------
erichkeane wrote:

So I suspect we are going to have a lot of these.  I suspect we actually want 
our `StdRecognizer` to take a LIST of ops and use a fold to do the recognition.

https://github.com/llvm/llvm-project/pull/210400
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to