HomePhabricator

Merged from r222339*:

Description

Merged from r222339*:
Please note that there is a significant change to the test compared to r222339.
This is because this branch generates different code compared to the trunk.
The code on this branch appears to be equivalent so the test has been updated

accordingly.

Allow EmitVAArg() to promote types and use this to fix some N32/N64 vararg issues for Mips.

Summary:
With this patch, passing a va_list to another function and reading 10 int's from
it works correctly on a big-endian target.

Based on a pair of patches by David Chisnall, one of which I've reworked
for the current trunk.

Reviewers: theraven, atanasyan

Reviewed By: theraven, atanasyan

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D6248

Details

Auditors
dsanders
Committed
dsandersDec 1 2014, 2:45 AM
Reviewer
theraven
Differential Revision
D6248: Allow EmitVAArg() to promote types and use this to fix some N32/N64 vararg issues for Mips.
Parents
rL223004: Merged from r220566:
Branches
Unknown
Tags
Unknown

Event Timeline