HomePhabricator

Merged from r222339*: Please note that there is a significant change to the…

Authored by dsanders on Dec 1 2014, 2:45 AM.

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

llvm-svn: 223005

Details

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
rGa33f8c9ee0ef: Merged from r220566:
Branches
Unknown
Tags
Unknown