-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang][openacc] Add OpenACC pointer interface to FIR pointer types
The OpenACC dialect data clauses require for variables appearing in data operations to implement the `PointerLikeType` interface (similarly to OpenMP dialect). Thus, this interface needs attached to FIR types. Two of the FIR types, HeapType and LLVMPointerType, did not provide getElementType - now they do by calling getEleTy. This cleans up the interface attachment for both OpenACC and OpenMP dialects. Reviewed By: clementval, jeanPerier Differential Revision: https://reviews.llvm.org/D148560
- Loading branch information
1 parent
3e76d01
commit 4bb64da
Showing
3 changed files
with
31 additions
and
13 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
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