[PATCH] D156835: CoroFrame: Rework SuspendCrossingInfo analysis

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 16:07:28 PDT 2023


MatzeB created this revision.
MatzeB added reviewers: ChuanqiXu, GorNishanov, witstorm95.
Herald added subscribers: modimo, wenlei, hiraditya, mcrosier.
Herald added a project: All.
MatzeB requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This changes the dataflow solver into a two-phase approach:

- In a first pass visit every block in a reverse post-order resulting in a topological ordering for loop-free code. Put "backedges" into worklist.
- Revisit blocks with worklist dataflow algorithm until fixpoint is reached.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156835

Files:
  llvm/lib/Transforms/Coroutines/CoroFrame.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156835.546258.patch
Type: text/x-patch
Size: 7323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230801/f5e7f1a4/attachment.bin>


More information about the llvm-commits mailing list