r229408 - x86-64 ABI: unwrap single element structs / arrays of 256-bit vectors to pass and return in registers

Hans Wennborg hans at chromium.org
Tue Feb 17 13:34:20 PST 2015


On Mon, Feb 16, 2015 at 9:26 AM, Sanjay Patel <spatel at rotateright.com> wrote:
> Author: spatel
> Date: Mon Feb 16 11:26:51 2015
> New Revision: 229408
>
> URL: http://llvm.org/viewvc/llvm-project?rev=229408&view=rev
> Log:
> x86-64 ABI: unwrap single element structs / arrays of 256-bit vectors to pass and return in registers
>
> This is a patch for PR22563 ( http://llvm.org/bugs/show_bug.cgi?id=22563 ).
>
> We were not correctly unwrapping a single 256-bit AVX vector that was defined as an array of 1 inside a struct.
>
> We would generate a <4 x float> param/return value instead of <8 x float> and lose half of the vector.
>
> Differential Revision: http://reviews.llvm.org/D7614

Merged to 3.6 in r229546.

Thanks,
Hans



More information about the cfe-commits mailing list