[flang][hlfir] Implement hlfir.forall codegen when no temp is required
The patch applies the schedule built with the utility added in the previous D150455 patch to generate the code for an ordered assignment tree. For now, it only supports forall that do not contain user defined assignments or assignments to vector subscripted entities, and for which the scheduling analysis does not require temporary storages. Support for temporary, WHERE, and user-defined/vector subscript assignment will be added in later patches. This enables end-to-end support with HLFIR for forall where the schedule analysis can prove there is no need to create temporary storage. Differential Revision: https://reviews.llvm.org/D150564
Loading
Please sign in to comment