forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang][OpenMP] Further handling of
target ... do
fixup logic
Cloning `hlfir.declare` ops during fix up can result in type mismatches. For example, a `fir.ref<fir.array<...>>` variable is mapped a s `fir.box<fir.array<...>>` which results in the fix up logic creating invalid IR. This PR fixes the issue by avoiding cloning `hlfir.declare` ops in the first place since they are specially handled during the fix-up process.
- Loading branch information
Showing
2 changed files
with
44 additions
and
2 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