[all-commits] [llvm/llvm-project] 327141: [C++] [Coroutines] Prefer aligned (de)allocation f...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Wed Sep 21 20:28:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 327141fb1d8ca35b323107a43d57886eb77e7384
https://github.com/llvm/llvm-project/commit/327141fb1d8ca35b323107a43d57886eb77e7384
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Builtins.def
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Sema/Sema.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Sema/SemaCoroutine.cpp
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp
A clang/test/CodeGenCoroutines/coro-aligned-alloc.cpp
A clang/test/SemaCXX/coroutine-alloc-4.cpp
Log Message:
-----------
[C++] [Coroutines] Prefer aligned (de)allocation for coroutines -
implement the option2 of P2014R0
This implements the option2 of
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2014r0.pdf.
This also fixes https://github.com/llvm/llvm-project/issues/56671.
Although wg21 didn't get consensus for the direction of the problem,
we're happy to have some implementation and user experience first. And
from issue56671, the option2 should be the pursued one.
Reviewed By: ychen
Differential Revision: https://reviews.llvm.org/D133341
More information about the All-commits
mailing list