llvm-project
ba8077c9 - [flang] Use optimal shape for assign expansion as a loop. (#143050)

Commit
208 days ago
[flang] Use optimal shape for assign expansion as a loop. (#143050) During `hlfir.assign` inlining and `ElementalAssignBufferization` we can deduce the optimal shape from `lhs` and `rhs` shapes. It is probably better be done in a separate pass that propagates constant shapes, but I have not seen any benchmarks that would benefit from this yet. So consider this as a workaround for a bigger TODO issue. The `ElementalAssignBufferization` case is from 465.tonto, but I do not have performance results yet (I do not expect much).
Author
Parents
Loading