[clang] [CIR] Initial implementation of CIR-to-LLVM IR lowering pass (PR #125260)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 31 11:18:19 PST 2025
================
@@ -31,6 +33,24 @@ namespace direct {
std::unique_ptr<llvm::Module>
lowerDirectlyFromCIRToLLVMIR(mlir::ModuleOp mlirModule,
llvm::LLVMContext &llvmCtx);
+
+class CIRToLLVMGlobalOpLowering
+ : public mlir::OpConversionPattern<cir::GlobalOp> {
+ mlir::DataLayout const &dataLayout;
----------------
andykaylor wrote:
I don't think I understand your question here.
https://github.com/llvm/llvm-project/pull/125260
More information about the cfe-commits
mailing list