[PATCH] D84192: [OpenMP5.0] map item can be non-contiguous for target update

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 24 08:43:55 PDT 2020


ABataev added inline comments.


================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:8914
+  ASTContext &C = CGF.getContext();
+  QualType Int64Ty = C.getIntTypeForBitwidth(/*DestWidth=*/64, /*Signed=*/true);
+  RecordDecl *RD;
----------------
1. The second argument must be of integer type, not boolean.
2. Why it is signed?


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:16915
+          continue;
+        else if (OASE && OASE->getLength())
+          break;
----------------
No need for `else` here


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84192/new/

https://reviews.llvm.org/D84192





More information about the cfe-commits mailing list