[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 07:45:59 PST 2025


================
@@ -55,6 +55,7 @@ class CIRGenerator : public clang::ASTConsumer {
   void Initialize(clang::ASTContext &astContext) override;
   bool HandleTopLevelDecl(clang::DeclGroupRef group) override;
   mlir::ModuleOp getModule() const;
+  mlir::MLIRContext &getMLIRContext() { return *mlirContext; }
----------------
AaronBallman wrote:

Wow, that's disappointing to say the least.

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


More information about the cfe-commits mailing list