[llvm-commits] [patch] Fix va_arg for double and some cleanups

Rafael Espindola espindola at google.com
Thu Jul 8 10:35:24 PDT 2010


On 8 July 2010 13:20, Dan Gohman <gohman at apple.com> wrote:
> getTransientStackAlignment does not seem the right tool here.  You want to
> know how arguments in memory for varargs are aligned, not how the stack
> pointer itself is aligned.

No, I what to know the stack alignment. The VAARG node already contain
by how much the argument is aligned. The question we are trying to
answer is "Is this argument more alignment that what we know the stack
already is?". Knowing that we can insert alignment instructions only
when necessary.

> Dan

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list