[PATCH] Fix ARM HVA classification of classes with non-virtual bases

Reid Kleckner rnk at google.com
Thu Oct 30 15:46:10 PDT 2014


Hi uweigand, t.p.northover,

Reuse the PPC64 HVA detection algorithm for ARM and AArch64. This is a
nice code deduplication, since they are roughly identical. A few virtual
method extension points are needed to understand how big an HVA can be
and what element types it can have for a given architecture.

Also make the record expansion code work in the presence of non-virtual
bases.

http://reviews.llvm.org/D6045

Files:
  lib/CodeGen/ABIInfo.h
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/TargetInfo.cpp
  test/CodeGen/ppc64le-aggregates-cpp.cpp
  test/CodeGen/ppc64le-aggregates.c
  test/CodeGenCXX/homogeneous-aggregates.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6045.15589.patch
Type: text/x-patch
Size: 22962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141030/0c5ca730/attachment.bin>


More information about the cfe-commits mailing list