[PATCH] D84422: [OpenMP] Fix `present` for exit from `omp target data`
    Alexey Bataev via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Jul 28 13:43:31 PDT 2020
    
    
  
ABataev added inline comments.
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:8843
     llvm::Value *&MapTypesArrayArg, llvm::Value *&MappersArrayArg,
-    CGOpenMPRuntime::TargetDataInfo &Info) {
+    CGOpenMPRuntime::TargetDataInfo &Info, bool ForEndCall = false) {
+  assert((!ForEndCall || Info.separateBeginEndCalls()) &&
----------------
Do not append param here, use the one from `Info`
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84422/new/
https://reviews.llvm.org/D84422
    
    
More information about the cfe-commits
mailing list