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

Chi Chun Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 14:21:37 PDT 2020


cchen added a comment.

In D79972#2082017 <https://reviews.llvm.org/D79972#2082017>, @ABataev wrote:

> Do you have a test for mapping of something like `arr[0][:n]`, where the base is an array subscript and the remaining part is an array section?


I'm not having it right now, but it seems like if the base is an array subscript and the remaining part is an array section, then this map-item will always be contiguous, and will not trigger my code in Codegen. I can still add a test for Sema though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79972





More information about the cfe-commits mailing list