[PATCH] D137649: [Clang][OpenMP] Warn and discard write to host for const variable

2022-12-12 Thread Jan-Patrick Lehr via Phabricator via cfe-commits
jplehr planned changes to this revision. jplehr added a comment. We had another clarifying example on the github issue, which currently is not correctly covered by this patch. I'm currently reworking. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D1

[PATCH] D137649: [Clang][OpenMP] Warn and discard write to host for const variable

2022-11-14 Thread Joseph Huber via Phabricator via cfe-commits
jhuber6 accepted this revision. jhuber6 added a comment. This revision is now accepted and ready to land. LGTM, others feel free to comment. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137649/new/ https://reviews.llvm.org/D137649 ___

[PATCH] D137649: [Clang][OpenMP] Warn and discard write to host for const variable

2022-11-08 Thread Jan-Patrick Lehr via Phabricator via cfe-commits
jplehr created this revision. Herald added subscribers: guansong, yaxunl. Herald added a project: All. jplehr requested review of this revision. Herald added a reviewer: jdoerfert. Herald added subscribers: cfe-commits, sstefan1. Herald added a project: clang. Resolves a potential segmentation fau