================
@@ -15,7 +15,7 @@ void test_delete_array(int *ptr) {
 // CIR-BEFORE:   %[[NULL:.*]] = cir.const #cir.ptr<null> : !cir.ptr<!s32i>
 // CIR-BEFORE:   %[[NOT_NULL:.*]] = cir.cmp ne %[[PTR]], %[[NULL]] : 
!cir.ptr<!s32i>
 // CIR-BEFORE:   cir.if %[[NOT_NULL]] {
-// CIR-BEFORE:     cir.delete_array %[[PTR]] : !cir.ptr<!s32i> {delete_fn = 
@_ZdaPv, delete_params = #cir.usual_delete_params<>
+// CIR-BEFORE:     cir.delete_array %[[PTR]] : !cir.ptr<!s32i> 
delete_fn(@_ZdaPv) delete_params(<>)
----------------
xlauko wrote:

Is there a way not to print dummy delete params? E.g.:

```suggestion
// CIR-BEFORE:     cir.delete_array %[[PTR]] : !cir.ptr<!s32i> 
delete_fn(@_ZdaPv)
```

https://github.com/llvm/llvm-project/pull/226600
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to