[all-commits] [llvm/llvm-project] 0f8e7b: [OpenMP] Add map clause to the LIT test on use_dev...
Animesh Kumar via All-commits
all-commits at lists.llvm.org
Tue Nov 8 23:00:43 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f8e7b43291ce5881cde6f3d34041c578390dda4
https://github.com/llvm/llvm-project/commit/0f8e7b43291ce5881cde6f3d34041c578390dda4
Author: Animesh Kumar <animesh.kumar at amd.com>
Date: 2022-11-09 (Wed, 09 Nov 2022)
Changed paths:
M clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
Log Message:
-----------
[OpenMP] Add map clause to the LIT test on use_device_addr clause
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.
Differential Revision: https://reviews.llvm.org/D134974
More information about the All-commits
mailing list