aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2022-06-20 15:54:23 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2022-06-20 16:20:36 +0800
commit7782e080e80a90f7bb32049beb3787e2118c2251 (patch)
tree81ddbbd6b9d506e4354aca62fa0ef9bdf34a1c20 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent8b68da2c7d97ef0e2dde4d9eb867020bde2f5fe2 (diff)
downloadllvm-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