[all-commits] [llvm/llvm-project] 4bb64d: [flang][openacc] Add OpenACC pointer interface to ...
Razvan Lupusoru via All-commits
all-commits at lists.llvm.org
Wed Apr 19 07:33:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4bb64daf34aa3463786f531b5b42d13ab5f47869
https://github.com/llvm/llvm-project/commit/4bb64daf34aa3463786f531b5b42d13ab5f47869
Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIRTypes.td
M flang/include/flang/Tools/PointerModels.h
M flang/lib/Optimizer/Dialect/FIRType.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list