================
@@ -111,15 +122,14 @@ runCIRToCIRPasses(mlir::ModuleOp theModule, 
mlir::MLIRContext &mlirContext,
   // outlines dynamic global initializers into functions.  It must run before
   // CallConvLowering so the classifier sees them, otherwise their signatures
   // go unclassified and caller and callee disagree on the ABI.
-  pm.addPass(mlir::createLoweringPreparePass(&astContext));
+  pm.addPass(mlir::createLoweringPreparePass(astContext));
----------------
koparasy wrote:

We need to figure this out, so keep commenting until we address these parts.

We do not need astcontext (today). The series of PRs cleaned lowering prepare 
from any AST-context requirement. My preference is to **not** have it in 
lowering prepare. @bcardosolopes please chime in.

https://github.com/llvm/llvm-project/pull/227128
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to