[clang] [CIR] Add support for array cleanups (PR #150499)

Morris Hafner via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 25 08:51:39 PDT 2025


================
@@ -249,6 +270,8 @@ void LoweringPreparePass::runOnOp(mlir::Operation *op) {
     lowerCastOp(cast);
   else if (auto unary = mlir::dyn_cast<cir::UnaryOp>(op))
     lowerUnaryOp(unary);
+  else if (auto arrayDtor = dyn_cast<ArrayDtor>(op))
----------------
mmha wrote:

We should try to keep this if/else cascade in lexicographical order.

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


More information about the cfe-commits mailing list