[PATCH] D21611: Fix small structures calling convention issue for some big endian architectures
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 22 13:40:06 PDT 2016
rjmccall added a comment.
Oh, floats are promoted to doubles in varargs, of course, which neatly makes that an impossible situation.
My inclination is that the right condition here is that only integer types should be right-justified in their slot, but I'll admit to not having an easy example of a type for which your condition doesn't work.
More information about the cfe-commits