[flang-commits] [flang] [flang][fir]: New optimizer transform of `fir.if` to `scf.if`. (PR #149959)

Scott Manley via flang-commits flang-commits at lists.llvm.org
Tue Jul 22 05:59:12 PDT 2025


================
@@ -87,13 +87,52 @@ struct DoLoopConversion : public OpRewritePattern<fir::DoLoopOp> {
     return success();
   }
 };
+
+void copyBlocksAndTransformResult(PatternRewriter &rewriter, Block &srcBlock,
----------------
rscottmanley wrote:

I think this should be a lambda instead

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


More information about the flang-commits mailing list