[PATCH] Allow EmitVAArg() to promote types and use this to fix some N32/N64 vararg issues for Mips.
daniel.sanders at imgtec.com
Tue Nov 18 05:46:22 PST 2014
Bring this patch into line with the overall way David solved the issue with int
not being a promotable integer. That is, promote the Clang type rather than
promote the LLVM IR type.
There's a still a couple differences compared to the original patches this is
* intptr_t/uintptr_t is 32-bit for N32 so we explicitly ask for a 64-bit integer
* We only promote if the integer type is smaller than the one we promote to.
This prevents accidental demotion of 128-bit ints.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10826 bytes
Desc: not available
More information about the cfe-commits