[clang] [CIR] Intitial upstreaming of LibOpt pass (PR #172487)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 16:54:01 PDT 2026


================
@@ -21,7 +21,8 @@ mlir::LogicalResult runCIRToCIRPasses(mlir::ModuleOp theModule,
                                       mlir::MLIRContext &mlirContext,
                                       clang::ASTContext &astContext,
                                       bool enableVerifier,
-                                      bool enableCIRSimplify) {
+                                      bool enableCIRSimplify, bool enableLibOpt,
----------------
bcardosolopes wrote:

Also: `libOptOptions` is threaded all the way here but never passed to `createLibOptPass()`. Either wire it through or drop it until it's needed.

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


More information about the cfe-commits mailing list