[llvm-commits] jit failures due to attributes changes

Duncan Sands baldrick at free.fr
Sun Nov 25 04:48:08 PST 2007


Hi Chris,

> I think that getOrInsertFunction should just return the function (not  
> a bitcast) if the function type other than the attributes are the same.

once PR1146 is done, what should happen here?  Suppose the new function
and the old differ in some essential attribute (eg: byval).  It won't
be possible to bitcast the old function to the new function anymore
because the attributes will no longer be part of the type...

Ciao,

Duncan.



More information about the llvm-commits mailing list