[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 19:42:35 PST 2024


================
@@ -79,6 +79,73 @@ using namespace llvm;
 
 namespace {
 
+// Created on demand if the coro-early pass has work to do.
+class Lowerer : public coro::LowererBase {
----------------
ChuanqiXu9 wrote:

Why do we need to inherit `coro::LowererBase`? Can't we make it directly in a function?

https://github.com/llvm/llvm-project/pull/79712


More information about the cfe-commits mailing list