[flang-commits] [flang] [flang][fir] Add `fir.local` op for locality specifiers (PR #138505)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Thu May 8 00:15:04 PDT 2025


================
@@ -120,7 +121,7 @@ struct IncrementLoopInfo {
   const Fortran::lower::SomeExpr *upperExpr;
   const Fortran::lower::SomeExpr *stepExpr;
   const Fortran::lower::SomeExpr *maskExpr = nullptr;
-  bool isUnordered; // do concurrent, forall
----------------
ergawy wrote:

Nope. This also takes a different codegen path. In particular, `forall` concurrent headers are generated through `void genFIR(const Fortran::parser::ConcurrentHeader &header)` where `fir.do_loop .... unordered` nests are still generated. See: https://github.com/llvm/llvm-project/blob/main/flang/lib/Lower/Bridge.cpp#L2771.

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


More information about the flang-commits mailing list