[patch][mips] Fix N32 registers and stack alignment

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Dec 17 13:45:18 PST 2013


It might be possible to test that stack is not realigned with a 128
bit aligned alloca for the 'S'. Not sure how to test the 'n' right
now.

The way I am finding these and how I want to test them in the near
future is by having clang ask llvm for the DataLayout string. That way
this string shows up in clang/test/CodeGen/target-data.c.



On 17 December 2013 15:40, Jack Carter <Jack.Carter at imgtec.com> wrote:
> On 12/17/2013 11:34 AM, Rafael EspĂ­ndola wrote:> The attached patch fixes
> the "n" and "S" components of the data layout
>
>> for mips. Clang already gets this right.
>>
>> Cheers,
>> Rafael
>
> Test case?
>
> Jack




More information about the llvm-commits mailing list