-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang][hlfir] Insert casts in hlfir.associate rewrites
When the associated expression came from a moved variable, the type of the moved variable may not exactly match the hlfir.associate result and cannot be re-used directly. Insert fir.convert/fir.box_addr as needed. Reviewed By: clementval Differential Revision: https://reviews.llvm.org/D144557
- Loading branch information
1 parent
e2eee90
commit a35bb0e
Showing
2 changed files
with
41 additions
and
5 deletions.
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