-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang][hlfir] Expand array hlfir.assign's.
Expand hlfir.assign with in-memory array RHS and LHS into a loop nest with element-by-element assignments. For small arrays this may result in further loop nest unrolling enabling more value propagation and redundancy elimination. Note the change in flang/test/HLFIR/opt-bufferization.fir: the hlfir.assign inside hlfir.elemental gets expanded by the new pattern. Depends on D159151 Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D159246
- Loading branch information
Showing
3 changed files
with
406 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.