[clang] [CIR] Initial implementation of lowering CIR to MLIR (PR #127835)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 06:41:42 PST 2025


================
@@ -90,6 +92,15 @@ class CIRGenConsumer : public clang::ASTConsumer {
         MlirModule->print(*OutputStream, Flags);
       }
       break;
+    case CIRGenAction::OutputType::EmitMLIR: {
+      auto LoweredMlirModule = lowerFromCIRToMLIR(MlirModule, MlirCtx);
----------------
AaronBallman wrote:

Please spell out the type.

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


More information about the cfe-commits mailing list