[all-commits] [llvm/llvm-project] 403772: [Coroutines] Enhance symmetric transfer for consta...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Tue Jan 11 18:15:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 403772ff1ce5618c8d02316531386b415312274a
https://github.com/llvm/llvm-project/commit/403772ff1ce5618c8d02316531386b415312274a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-01-12 (Wed, 12 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/test/Transforms/Coroutines/coro-split-musttail4.ll
Log Message:
-----------
[Coroutines] Enhance symmetric transfer for constant CmpInst
This fixes bug52896.
Simply, some symmetric transfer optimization chances get invalided due
to we delete some inlined optimization passes in 822b92a. This would
cause stack-overflow in some situations which should be avoided by the
design of coroutine. This patch tries to fix this by transforming the
constant CmpInst instruction which was done in the deleted passes.
Reviewed By: rjmccall, junparser
Differential Revision: https://reviews.llvm.org/D116327
More information about the All-commits
mailing list