[PATCH] D134974: [OpenMP] Add map clause to the LIT test on use_device_addr clause
Animesh Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 30 10:20:25 PDT 2022
animeshk-amd created this revision.
animeshk-amd added reviewers: saiislam, JonChesterfield.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
animeshk-amd requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
As per the OpenMP Spec, "A list item in a use_device_addr clause
must have a corresponding list item in the device data environment"
. Therefore a `map` clause is added which will make sure that the
respective list items are mapped to the device data environment
before the `use_device_addr` clause is specified. The CHECK lines
are also modified based on this change.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134974
Files:
clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134974.464320.patch
Type: text/x-patch
Size: 22526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220930/645d84da/attachment-0001.bin>
More information about the cfe-commits
mailing list