[llvm-commits] [llvm] r45850 - /llvm/trunk/lib/VMCore/Verifier.cpp

Duncan Sands duncan.sands at math.u-psud.fr
Thu Jan 10 22:43:14 PST 2008


Hi Evan,

> Allow parameter attributes on varargs function parameters.

there are some issues that need to be fixed:
(1) the asm parser drops parameter attributes specified on the varargs
part of a call/invoke;
(2) when the DAE pass drops varargs call arguments, the parameter
attributes need to be trimmed, since otherwise you can have attributes
that don't correspond to a call argument any more;
(3) when instcombine resolves calls to a bitcast of a function into
a direct call, then parameter attributes will be lost on any varargs
part of a call.

You need this for byval support, right?

D.



More information about the llvm-commits mailing list