[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
Thu Jan 26 09:00:23 PST 2023


tianshilei1992 added a comment.

@rjmccall @ABataev Thanks for the help. So the basic idea is to build the expressions in Sema for those captured decls and then emit them accordingly in code gen, right?

> There are a bunch of places we do that for various language extensions already, including a bunch in the OpenMP code, and we usually just store the expression in the associated AST node.

Could you please point me a rough location where we already have similar things such that I can learn and do the same thing for globalization? Thanks.


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