[flang][hlfir] Evaluate actual args before impure elemental calls.
Actual argument expressions must be evaluated before the invocation of the sequence of per-element calls of an impure elemental subprogram. Otherwise, the side effects of the calls may affect the input for the consequent elements. The proposed changes are described by Jean in D154174. Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D154263
Loading
Please sign in to comment