================ @@ -27,6 +27,8 @@ std::unique_ptr<Pass> createHoistAllocasPass(); std::unique_ptr<Pass> createLoweringPreparePass(); std::unique_ptr<Pass> createLoweringPreparePass(clang::ASTContext *astCtx); std::unique_ptr<Pass> createGotoSolverPass(); +std::unique_ptr<Pass> createLibOptPass(); +std::unique_ptr<Pass> createLibOptPass(clang::ASTContext *astCtx); ---------------- HendrikHuebner wrote:
@bcardosolopes what will we actually need the AST for this pass for? Shouldn't the idiom recognizer pass be responsible for including all the required information in the raised CIR Ops / Attributes to perform transformations? https://github.com/llvm/llvm-project/pull/172487 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
