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

via flang-commits flang-commits at lists.llvm.org
Fri Mar 14 05:11:40 PDT 2025


jeanPerier wrote:

> > > This was suggested by @kiranchandramohan
> > 
> > 
> > It was a suggestion from my side. Please follow @jeanPerier's direction if he has a strong opinion.
> 
> 👍 @jeanPerier will move to fir then since that seems to be consistent of the current dialects definitions. Let me know if you had other thoughts.

Thanks, that just seems the most flexible approach to me.
I do understand Kiran's advice based on the fact that HLFIR is meant to be closer from Fortran representation than FIR, and maybe I should clarify more the HLFIR vs FIR somewhere. I really think the hlfir.expr type is the corner stone of HLFIR, and if that type cannot be an operand or a result of that operation, it likely better belong to FIR. HLFIR can be seen as "tensor operations for FIR".

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


More information about the flang-commits mailing list