[llvm-dev] byval problem

Peter McKinna via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 2 16:45:46 PST 2020


Hi,

  I'm testing a patch compiling against head using the c interface and
llc is complaining that the byval attribute doesn't have a type.

A parameter used to have a type just by adding the attribute, now it
doesn't.

The lang ref seems to say the type is optional. This is confusing.
Is the type mandatory now? And how do I add it?

Any help would be appreciated.

Regards Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201203/4d20acde/attachment.html>


More information about the llvm-dev mailing list