[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)
Chuanqi Xu via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 17 19:53:15 PST 2024
================
@@ -2013,6 +2104,10 @@ splitCoroutine(Function &F, SmallVectorImpl<Function *> &Clones,
buildCoroutineFrame(F, Shape, MaterializableCallback);
replaceFrameSizeAndAlignment(Shape);
+ IRBuilder<> Builder(M.getContext());
----------------
ChuanqiXu9 wrote:
```suggestion
IRBuilder<> Builder(F.getContext());
```
then we can get rid of `Module`.
https://github.com/llvm/llvm-project/pull/79712
More information about the llvm-commits
mailing list