[PATCH] Allow EmitVAArg() to promote types and use this to fix some N32/N64 vararg issues for Mips.
Daniel Sanders
daniel.sanders at imgtec.com
Thu Nov 13 06:27:10 PST 2014
Hi atanasyan, theraven,
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.
http://reviews.llvm.org/D6248
Files:
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/TargetInfo.cpp
test/CodeGen/mips-varargs.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6248.16155.patch
Type: text/x-patch
Size: 11923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141113/994ed3d0/attachment.bin>
More information about the cfe-commits
mailing list