[clang] [CIR] Upstream handling for delete array (PR #165225)
Henrich Lauko via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 3 23:49:41 PST 2025
================
@@ -4089,6 +4089,24 @@ def CIR_PrefetchOp : CIR_Op<"prefetch"> {
}];
}
+//===----------------------------------------------------------------------===//
+// DeleteArrayOp
+//===----------------------------------------------------------------------===//
+
+def CIR_DeleteArrayOp : CIR_Op<"delete.array"> {
+ let summary = "Delete address representing an array";
+ let description = [{
+ `cir.delete.array` operation deletes an array. For example, `delete[] ptr;`
----------------
xlauko wrote:
```suggestion
`cir.delete_array` operation deletes an array. For example, `delete[] ptr;`
```
https://github.com/llvm/llvm-project/pull/165225
More information about the cfe-commits
mailing list