[clang] [CIR] Upstream basic alloca and load support (PR #128792)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 10:53:03 PST 2025


================
@@ -117,6 +117,24 @@ static void printOmittedTerminatorRegion(mlir::OpAsmPrinter &printer,
                       /*printBlockTerminators=*/!omitRegionTerm(region));
 }
 
+//===----------------------------------------------------------------------===//
+// AllocaOp
+//===----------------------------------------------------------------------===//
+
+void cir::AllocaOp::build(::mlir::OpBuilder &odsBuilder,
----------------
andykaylor wrote:

Oh! I misunderstood your original comment. This appears to be an MLIR style thing. Maybe @bcardosolopes or @lanza can provide more insight into the history of this. I don't think it's necessary.

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


More information about the cfe-commits mailing list