================
@@ -3589,6 +3589,43 @@ def CIR_LLVMIntrinsicCallOp :
CIR_Op<"call_llvm_intrinsic"> {
];
}
+//===----------------------------------------------------------------------===//
+// 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;`
+ will be translated to `cir.delete.array %ptr`.
----------------
AmrDeveloper wrote:
```suggestion
will be translated to `cir.delete_array %ptr`.
```
🤔
https://github.com/llvm/llvm-project/pull/184827
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits