[flang-commits] [flang] [flang][fir] Add FIR structured control flow ops to SCF dialect pass. (PR #140374)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed May 21 07:46:37 PDT 2025
tblah wrote:
> > Please could you add a test showing a loop containing multiple blocks? This feels like a likely source of bugs now or in the future.
>
> It seems that `fir.do_loop` only allows a single block. Are you referring to cases where some operations within that block contain nested blocks (such as `fir.if`)? This will be gradually implemented in the future.
Ahh my mistake. I thought it might be possible to have a do_loop containing multiple blocks.
https://github.com/llvm/llvm-project/pull/140374
More information about the flang-commits
mailing list