[all-commits] [llvm/llvm-project] 82e99f: [OpenMP] Fix second debug name from map clause
Joel E. Denny via All-commits
all-commits at lists.llvm.org
Fri Apr 30 13:28:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82e99f50351dd83d854f45bab3d91d4e6ad6450e
https://github.com/llvm/llvm-project/commit/82e99f50351dd83d854f45bab3d91d4e6ad6450e
Author: Joel E. Denny <jdenny.ornl at gmail.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/test/OpenMP/target_map_names.cpp
Log Message:
-----------
[OpenMP] Fix second debug name from map clause
This patch fixes a bug from D89802. For example, without it, Clang
generates x as the debug map name for both x and y in the following
example:
```
#pragma omp target map(to: x, y)
x = y = 1;
```
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D101564
More information about the All-commits
mailing list