[clang] [CIR] Make ASTContext optional in runCIRToCIRPasses (PR #227128)

Konstantinos Parasyris via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 28 16:56:54 PDT 2026


================
@@ -31,10 +27,9 @@ namespace cir {
 // Run set of cleanup/prepare/etc passes CIR <-> CIR.
 mlir::LogicalResult
 runCIRToCIRPasses(mlir::ModuleOp theModule, mlir::MLIRContext &mlirCtx,
-                  clang::ASTContext &astCtx, bool enableVerifier,
-                  bool enableIdiomRecognizer, bool enableCIRSimplify,
-                  bool enableLibOpt, llvm::StringRef libOptOptions,
-                  bool enableCallConvLowering);
+                  bool enableVerifier, bool enableIdiomRecognizer,
----------------
koparasy wrote:

@andykaylor just pushed 4016c44 which brings astcontext back as a pointer.  

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


More information about the cfe-commits mailing list