[clang] [llvm] [OpenMP][Clang] Migrate OpenMP UserDefinedMapper from Clang to OMPIRBuilder (PR #110001)
Dhruva Chakrabarti via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 09:02:41 PDT 2024
================
@@ -2801,6 +2801,67 @@ class OpenMPIRBuilder {
using GenMapInfoCallbackTy =
function_ref<MapInfosTy &(InsertPointTy CodeGenIP)>;
+private:
+ /// Emit the array initialization or deletion portion for user-defined mapper
+ /// code generation. First, it evaluates whether an array section is mapped
+ /// and whether the \a MapType instructs to delete this section. If \a IsInit
+ /// is true, and \a MapType indicates to not delete this array, array
+ /// initialization code is generated. If \a IsInit is false, and \a MapType
+ /// indicates to not this array, array deletion code is generated.
----------------
dhruvachak wrote:
typo: indicates to not this array
please rephrase ^^
https://github.com/llvm/llvm-project/pull/110001
More information about the cfe-commits
mailing list