[flang-commits] [flang] [flang][fir] Add FIR structured control flow ops to SCF dialect pass. (PR #140374)

via flang-commits flang-commits at lists.llvm.org
Wed May 21 05:48:41 PDT 2025


NexMing 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.

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


More information about the flang-commits mailing list