[clang] [CIR] Initial upstreaming of idiom recognizer pass (PR #172486)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 22 18:46:07 PST 2026


================
@@ -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> createIdiomRecognizerPass();
+std::unique_ptr<Pass> createIdiomRecognizerPass(clang::ASTContext *astCtx);
----------------
bcardosolopes wrote:

Gotcha, thanks for clarifying. I agree with you!

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


More information about the cfe-commits mailing list