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

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 13 14:58:15 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:

> this pass should still live on as a sort of testing platform for such exploration

@andykaylor can you clarify what testing platform suggestion means?

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


More information about the cfe-commits mailing list