================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to