[flang-commits] [flang] [flang][Transforms] Add LiftSCFWhileToSCFFor pass (PR #213273)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Sun Aug 2 23:45:51 PDT 2026


ergawy wrote:

> Are there any FIR specific things here? Otherwise, it may be best to update https://github.com/llvm/llvm-project/blob/main/mlir/lib/Dialect/SCF/Transforms/UpliftWhileToFor.cpp for the long term (I am OK to start by having it here as you iterate on it).

Nothing FIR-specific. I just wasn't aware of the existing pass. Thanks for bringing my attention to it. I will try to merge my work into the existing pass and see how it goes.

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


More information about the flang-commits mailing list