diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-06-20 15:54:23 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-06-20 16:20:36 +0800 |
commit | 7782e080e80a90f7bb32049beb3787e2118c2251 (patch) | |
tree | 81ddbbd6b9d506e4354aca62fa0ef9bdf34a1c20 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 8b68da2c7d97ef0e2dde4d9eb867020bde2f5fe2 (diff) | |
download | llvm-7782e080e80a90f7bb32049beb3787e2118c2251.zip llvm-7782e080e80a90f7bb32049beb3787e2118c2251.tar.gz llvm-7782e080e80a90f7bb32049beb3787e2118c2251.tar.bz2 |
[Coroutines] Only do symmetric transfer if optimization is on
Symmetric transfer is not a part of C++ standards. So the vendors is not
forced to implement it any way. Given the symmetric transfer nowadays is
an optimization. It makes more sense to enable it only if the
optimization is enabled. It is also helpful for the compilation speed in
O0.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions