This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix second debug name from map clause
ClosedPublic

Authored by jdenny on Apr 29 2021, 1:02 PM.

Details

Summary

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;

Diff Detail

Event Timeline

jdenny created this revision.Apr 29 2021, 1:02 PM
jdenny requested review of this revision.Apr 29 2021, 1:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2021, 1:02 PM
Herald added a subscriber: sstefan1. · View Herald Transcript
jhuber6 accepted this revision.Apr 29 2021, 1:30 PM

LGTM, thanks.

This revision is now accepted and ready to land.Apr 29 2021, 1:30 PM
This revision was automatically updated to reflect the committed changes.