================
@@ -39,7 +39,7 @@ void test_delete_array(OverAligned *a) {
 // CIR-AFTER:  cir.call @_ZdaPvmSt11align_val_t(%{{.*}}, %[[TOTAL_SIZE]], 
%[[ALIGN]]) nothrow : (!cir.ptr<!void>, !u64i, !u64i) -> ()
 
 // LLVM-LABEL: define {{.*}}@_Z17test_delete_arrayP11OverAligned(
-// LLVM: %[[A:.*]] = alloca ptr, align 8
+// LLVM: store ptr %{{.*}}, ptr %[[A:.*]], align 8
----------------
steffenlarsen wrote:

`__array_idx` is a CIR detail, so checking it proper in this file requires 
divergence. The change in check above was just an effect of the divergence. I 
see two options: We either remove the check here entirely or we add the 
divergent checks (see 588d2b8c30b02cae2e88ff3fa7328e54f16f6926).

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

Reply via email to