[flang-commits] [flang] [flang][hlfir] Add MLIR op for `do concurrent` (PR #130893)

via flang-commits flang-commits at lists.llvm.org
Wed Mar 12 10:32:01 PDT 2025


================
@@ -1863,5 +1864,108 @@ def hlfir_EvaluateInMemoryOp : hlfir_Op<"eval_in_mem", [AttrSizedOperandSegments
   let hasVerifier = 1;
 }
 
+def hlfir_DoConcurrentOp : hlfir_Op<"do_concurrent", [SingleBlock]> {
----------------
jeanPerier wrote:

I think this should have the `AutomaticAllocationScope` interface to "pin" the loop indices allocas to it.

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


More information about the flang-commits mailing list