[clang] Make CIR assembly formats strict properties compatible (PR #226600)

Mehdi Amini via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 26 05:04:05 PDT 2026


================
@@ -23,7 +23,7 @@ void test_delete_array_throwing_dtor(ThrowingDtor *ptr) {
 // CIR-BEFORE-CXXABI:   %[[NULL:.*]] = cir.const #cir.ptr<null>
 // CIR-BEFORE-CXXABI:   %[[NOT_NULL:.*]] = cir.cmp ne %[[PTR]], %[[NULL]]
 // CIR-BEFORE-CXXABI:   cir.if %[[NOT_NULL]] {
-// CIR-BEFORE-CXXABI:     cir.delete_array %[[PTR]] : !cir.ptr<!rec_ThrowingDtor> dtor_may_throw {delete_fn = @_ZdaPvm, delete_params = #cir.usual_delete_params<size = true>, element_align = 4 : i64, element_dtor = @_ZN12ThrowingDtorD1Ev}
+// CIR-BEFORE-CXXABI:     cir.delete_array %[[PTR]] : !cir.ptr<!rec_ThrowingDtor> delete_fn(@_ZdaPvm) delete_params(<size = true>) element_dtor(@_ZN12ThrowingDtorD1Ev) dtor_may_throw element_align(4)
----------------
joker-eph wrote:

Right, not sure about this one...

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


More information about the cfe-commits mailing list