[PATCH] D107553: [C++4OpenCL] Initialize temporaries in the private address space

2021-09-13 Thread Ole Strohm via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG8008009fd25b: [OpenCL] Initialize temporaries in the private address space (authored by olestrohm). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107553/new/

[PATCH] D107553: [C++4OpenCL] Initialize temporaries in the private address space

2021-08-23 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia accepted this revision. Anastasia added a comment. This revision is now accepted and ready to land. LGTM! Thanks CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107553/new/ https://reviews.llvm.org/D107553 ___ cfe-commits mailing list

[PATCH] D107553: [C++4OpenCL] Initialize temporaries in the private address space

2021-08-19 Thread Ole Strohm via Phabricator via cfe-commits
olestrohm updated this revision to Diff 367455. olestrohm added a comment. I made the check into an assert as suggested. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107553/new/ https://reviews.llvm.org/D107553 Files: clang/include/clang/Sema/Initialization.h clang/lib/Sema/SemaEx

[PATCH] D107553: [C++4OpenCL] Initialize temporaries in the private address space

2021-08-06 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia added inline comments. Comment at: clang/include/clang/Sema/Initialization.h:341 +QualType Type = TypeInfo->getType(); +if (Context.getLangOpts().OpenCL && !Type.hasAddressSpace()) + Type = Context.getAddrSpaceQualType(Type, LangAS::opencl_private); ---

[PATCH] D107553: [C++4OpenCL] Initialize temporaries in the private address space

2021-08-05 Thread Ole Strohm via Phabricator via cfe-commits
olestrohm created this revision. olestrohm added reviewers: Anastasia, rjmccall. olestrohm added a project: clang. Herald added subscribers: ldrumm, yaxunl. olestrohm requested review of this revision. Herald added a subscriber: cfe-commits. This patch fixes initializing temporaries, which are cur