[flang-commits] [flang] [flang][fir] Convert `fir.do_loop` with the unordered attribute to `scf.parallel`. (PR #168510)

Ming Yan via flang-commits flang-commits at lists.llvm.org
Thu Nov 20 21:13:43 PST 2025


NexMing wrote:

> One solution would be to continue to transform these loops to scf.for by default and add a pass option which enables this transformation to scf.parallel. You can set that option when you create your custom pipeline using this pass.

Thanks for the explanation. I agree with controlling it via an option.


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


More information about the flang-commits mailing list