[PATCH] D69938: [OpenCL] Use __generic addr space when generating internal representation of lambda
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 10:15:37 PST 2019
rjmccall added a comment.
Yes, in that case copy-elision into the global variable is guaranteed. You can write arbitrary expressions in global initializers, however, and those can use temporary lambdas.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69938/new/
https://reviews.llvm.org/D69938
More information about the cfe-commits
mailing list