[flang] hlfir.elemental codegen
Without any optimization or when it cannot be optimized before bufferization, an hlfir.elemental lowers to an array temporary. Its codegen consists in: - allocating a temp given the type, shape, and length parameter arguments. - generating a loop nest given the elemental shape - inlining the body of the elemental inside the loops, and replacing the yield_element by an assignment to an element of the temp. Differential Revision: https://reviews.llvm.org/D140093
parent
95ec1a60
Please register or sign in to comment