-
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] Retrieve the correct scope when lowering SELECT TYPE
Scope to retrieve the associating entity is needed to map the symbol to the IR value. The scope can be found with a source information. For the type case in SELECT TYPE construct, the source information is on the Statement<TypeCase>. This patch updates the lowering so the scopes for each type guards is retrieved before the processing. Reviewed By: PeteSteinfeld, vdonaldson Differential Revision: https://reviews.llvm.org/D144133
- Loading branch information
1 parent
86c8ea9
commit b0de872
Showing
2 changed files
with
31 additions
and
3 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