[clang] [clang][CGRecordLayout] Remove dependency on isZeroSize (PR #96422)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 13:00:46 PDT 2024
================
@@ -185,6 +203,18 @@ CALL_AO(PackedMembers)
// CHECK: call void @llvm.memcpy.p0.p0.i64({{.*}} align 1 {{.*}} align 1 {{.*}}i64 16, i1 {{.*}})
// CHECK: ret ptr
+// WithEmptyField copy-assignment:
+// CHECK-LABEL: define linkonce_odr nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) ptr @_ZN14WithEmptyFieldaSERKS_
+// CHECK: call void @llvm.memcpy.p0.p0.i64({{.*}} align 4 {{.*}} align 4 {{.*}}i64 4, i1 {{.*}})
----------------
efriedma-quic wrote:
I assume that isn't actually what's happening, and there's somehow a typo in the comment.
https://github.com/llvm/llvm-project/pull/96422
More information about the cfe-commits
mailing list