[clang] [CIR] Lowering to LLVM for global pointers (PR #125619)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 09:46:01 PST 2025
================
@@ -84,6 +138,19 @@ mlir::LogicalResult CIRToLLVMGlobalOpLowering::matchAndRewrite(
SmallVector<mlir::NamedAttribute> attributes;
if (init.has_value()) {
+ auto setupRegionInitializedLLVMGlobalOp = [&]() {
----------------
andykaylor wrote:
https://github.com/llvm/clangir/blob/f8821e8521686749ab43015cd7a5b2f863b9943d/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp#L2344
https://github.com/llvm/llvm-project/pull/125619
More information about the cfe-commits
mailing list