================
@@ -0,0 +1,32 @@
+// 32-bit ARM uses a two-word array cookie { element_size, element_count }, so 
a
+// new[] allocation is two size_t words larger than the element data: the data
+// starts 8 bytes in, and delete[] recovers the allocation base 8 bytes before
+// the data. (The generic Itanium cookie is a single size_t.)
+//
+// RUN: %clang_cc1 -std=c++20 -triple arm-linux-gnueabihf -fclangir -emit-llvm 
%s -o %t.ll
----------------
andykaylor wrote:

Please add checks for the CIR output.

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

Reply via email to