[clang] [llvm] Enable ClangIR Build By Default (PR #221291)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 06:53:06 PDT 2026


================
@@ -226,6 +226,11 @@ Makes programs 10x faster by doing Special New Thing.
   found with an explanatory message instead of succeeding with no targets;
   such a build never provided a usable MLIR SDK.
 
+* When Clang is in the `LLVM_ENABLE_PROJECTS` list, it now compiles the
+  experimental MLIR-Generator ClangIR by default. This functionality can
+  increase the compile time of Clang significantly.  This can be disabled with
----------------
AaronBallman wrote:

Maybe mention the size increase here as well?

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


More information about the cfe-commits mailing list