[clang] [CIR] Upstream the basic structure of LoweringPrepare pass (PR #148545)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 14 12:47:47 PDT 2025


================
@@ -72,4 +72,14 @@ def CIRFlattenCFG : Pass<"cir-flatten-cfg"> {
   let dependentDialects = ["cir::CIRDialect"];
 }
 
+def LoweringPrepare : Pass<"cir-lowering-prepare"> {
+  let summary = "Preparation work before lowering to LLVM dialect";
----------------
bcardosolopes wrote:

`Preparation work before lowering to LLVM dialect` -> `Lower to more fine-grained CIR operations before lowering to other dialects`

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


More information about the cfe-commits mailing list