================ @@ -31,6 +32,113 @@ namespace fir { using namespace fir; using namespace mlir; +// Extracted here for use in other passes + +/// Convert fir::DoLoopOp to control-flow operations +std::pair<mlir::Block *, mlir::Block *> +fir::convertDoLoopToCFG(DoLoopOp loop, mlir::PatternRewriter &rewriter, ---------------- tblah wrote:
I think this should be defined in Utils.cpp so that it is easier to find. https://github.com/llvm/llvm-project/pull/150269 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits