Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-24 Thread Andrew Jeffery via cfe-commits
On Mon, 2017-07-24 at 09:32 +0200, Ulrich Weigand wrote: > > Andrew Jeffery wrote on 24.07.2017 03:54:05: > > > > > > +  bool shouldPassIndirectlyForSwift(CharUnits totalSize, > > > > > +ArrayRef scalars, > > > > > +bool asRe

Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-24 Thread Ulrich Weigand via cfe-commits
Andrew Jeffery wrote on 24.07.2017 03:54:05: > > > > +  bool shouldPassIndirectlyForSwift(CharUnits totalSize, > > > > +ArrayRef scalars, > > > > +bool asReturnValue) constoverride { > > > > +return occupiesMoreThan(CGT,

Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-23 Thread Andrew Jeffery via cfe-commits
Hi Hal, On Sat, 2017-07-22 at 23:26 -0500, Hal Finkel wrote: > On 07/19/2017 10:26 AM, Adrian Prantl wrote: > > > > > > On Jun 21, 2017, at 11:32 PM, Andrew Jeffery > > > > > > wrote: > > > > > > For the tests I've extracted the int5 and int8 cases to cater for > > > different alignments for di

Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-23 Thread Andrew Jeffery via cfe-commits
On Wed, 2017-07-19 at 08:26 -0700, Adrian Prantl wrote: > > > > On Jun 21, 2017, at 11:32 PM, Andrew Jeffery wrote: > > > > For the tests I've extracted the int5 and int8 cases to cater for > > different alignments for different platform ABIs. For Linux on POWER the > > 5 and 8 element vectors mu

Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-22 Thread Hal Finkel via cfe-commits
On 07/19/2017 10:26 AM, Adrian Prantl wrote: On Jun 21, 2017, at 11:32 PM, Andrew Jeffery wrote: For the tests I've extracted the int5 and int8 cases to cater for different alignments for different platform ABIs. For Linux on POWER the 5 and 8 element vectors must be naturally aligned with res

Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-19 Thread Adrian Prantl via cfe-commits
> On Jun 21, 2017, at 11:32 PM, Andrew Jeffery wrote: > > For the tests I've extracted the int5 and int8 cases to cater for > different alignments for different platform ABIs. For Linux on POWER the > 5 and 8 element vectors must be naturally aligned with respect to the > total "soft" vector siz

Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-18 Thread Andrew Jeffery via cfe-commits
Another friendly ping :) Cheers, Andrew On Wed, 2017-07-05 at 11:23 +0930, Andrew Jeffery wrote: > Ping - is anyone able to provide feedback? > > Cheers, > > Andrew > > On Thu, 2017-06-22 at 16:02 +0930, Andrew Jeffery wrote: > > For the tests I've extracted the int5 and int8 cases to cater f

Re: [PATCH v3] [PPC64]: Add support for Swift calling convention

2017-07-05 Thread Andrew Jeffery via cfe-commits
Ping - is anyone able to provide feedback? Cheers, Andrew On Thu, 2017-06-22 at 16:02 +0930, Andrew Jeffery wrote: > For the tests I've extracted the int5 and int8 cases to cater for > different alignments for different platform ABIs. For Linux on POWER the > 5 and 8 element vectors must be natu

[PATCH v3] [PPC64]: Add support for Swift calling convention

2017-06-21 Thread Andrew Jeffery via cfe-commits
For the tests I've extracted the int5 and int8 cases to cater for different alignments for different platform ABIs. For Linux on POWER the 5 and 8 element vectors must be naturally aligned with respect to the total "soft" vector size, despite being represented as an aggregate. Specifically, the pat