[PATCH] D129008: [Clang][OpenMP] Fix the issue that globalization doesn't work with byval struct function argument

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 31 09:19:39 PDT 2022


tianshilei1992 added a comment.

In D129008#3640233 <https://reviews.llvm.org/D129008#3640233>, @jdoerfert wrote:

> In D129008#3640194 <https://reviews.llvm.org/D129008#3640194>, @tianshilei1992 wrote:
>
>> `callCStructCopyConstructor` is actually for Objective-C…Cannot use it here.
>
> Don't we generate copies of things elsewhere already?

No we don't. I think the best place to emit copy is where the globalized variable is generated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129008/new/

https://reviews.llvm.org/D129008



More information about the cfe-commits mailing list