tblah wrote: > I was wondering if there is some op that is like `scf.execute_region` but > already used in flang.
Not that I am aware of. I think adding `scf.execute_region` might be the easiest way to support this. The alternative would be to go back and convert the if statement into CFG before inserting into it. I guess this would warrant another RFC as we don't use scf currently. https://github.com/llvm/llvm-project/pull/101446 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits