[cfe-dev] [OpenCL patch] asType **revised**
Tanya Lattner
lattner at apple.com
Thu May 26 17:58:55 PDT 2011
Attached is the updated patch that only implements AsType.
-Tanya
On May 25, 2011, at 3:08 PM, Tanya Lattner wrote:
> The attached patch adds support for builtins for astype, convert, and vec_step. I chose to group these together because they require very similar code modifications. I've included test cases for each.
>
> __builtin_astype(): Used to reinterpreted as another data type of the same size using for both scalar and vector data types.
> __builtin_convert(): provides a way to perform scalar and vector conversions with rounding and saturation.
>
> I have fixed the concerns with asType and other areas as mentioned by Guy Benyei in his review.
>
> If there is no further objection and because this patch has had extensive review and has been out there for a long time, I feel this is ready to be committed and plan to do so shortly.
>
> Thanks,
> Tanya
>
> <asTypeConvertExpr.patch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110526/0a5567c8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asType.patch
Type: application/octet-stream
Size: 17962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110526/0a5567c8/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110526/0a5567c8/attachment-0001.html>
More information about the cfe-dev
mailing list