diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-07-19 16:34:13 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-07-19 16:34:13 +0000 |
commit | b3638135432b66aa56831556b51963aef44a352c (patch) | |
tree | ef6df191f64ea3fac121d0de28059ace739c2642 /clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp | |
parent | d4143bc77274a9184219dc457029c0f25187ee77 (diff) | |
download | bcm5719-llvm-b3638135432b66aa56831556b51963aef44a352c.tar.gz bcm5719-llvm-b3638135432b66aa56831556b51963aef44a352c.zip |
The patch adds support for the new map interface between clang and libomptarget. The changes in the interface are the following:
device IDs are now 64-bit integers (as opposed to 32-bit)
map flags are 64-bit long (used to be 32-bit)
mappings for partially mapped structs are now calculated at compile time and members of partially mapped structs are flagged using the MEMBER_OF field
Support for is_device_ptr on struct members was dropped - this functionality is not supported by the OpenMP standard and its implementation is technically infeasible (however, use_device_ptr on struct members works as a non-standard extension of the compiler)
llvm-svn: 337468
Diffstat (limited to 'clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp b/clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp index 41e97a9ee7a..0c1c13e1e90 100644 --- a/clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp +++ b/clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp @@ -48,7 +48,7 @@ // CHECK-DAG: $[[REGFN:\.omp_offloading\..+]] = comdat // CHECK-DAG: [[SIZET:@.+]] = private unnamed_addr constant [2 x i[[SZ]]] [i[[SZ]] 0, i[[SZ]] 4] -// CHECK-DAG: [[MAPT:@.+]] = private unnamed_addr constant [2 x i64] [i64 32, i64 288] +// CHECK-DAG: [[MAPT:@.+]] = private unnamed_addr constant [2 x i64] [i64 544, i64 800] // CHECK-DAG: @{{.*}} = weak constant i8 0 // TCHECK: @{{.+}} = weak constant [[ENTTY]] |