[cfe-dev] Returning vectors by value
robert.quill at imgtec.com
Thu Feb 18 03:58:09 PST 2010
We would like to be able to add support to CLang for returning vectors
by value so you could do something like:
int2 my_func(int x)
Obviously this is a completely pointless example but it demonstrates
what we would like to be able to do. At the moment we hit an assert in
EmitCallExprLValue: "Can't have a scalar return unless the return type
is a reference type!"
I was wondering if anyone had any advice about the right way to go about
Thanks for your help,
This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm
Imagination Technologies Ltd is a limited company registered in England No: 1306335
Registered Office: Imagination House, Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ.
Email to and from the company may be monitored for compliance and other administrative purposes.
More information about the cfe-dev