[PATCH] D100614: [Coroutine] Collect CoroBegin if all of terminators are dominated by one coro.destroy

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 19:19:50 PDT 2021


ChuanqiXu added inline comments.


================
Comment at: llvm/test/Transforms/Coroutines/coro-elide.ll:97
+  call fastcc void %3(i8* %hdl)
+  ;br label %destroy
+  br i1 %b, label %destroy, label %ret
----------------
ychen wrote:
> Missing a `CHECK`?
Thanks for reminding. It is legacy comments before previously. Here I use `print(i32 2)` to judge this coroutine is elided.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100614/new/

https://reviews.llvm.org/D100614



More information about the llvm-commits mailing list