[PATCH] D20133: [OpenCL] Fix __builtin_astype for vec3 types.

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 3 14:57:56 PDT 2016


yaxunl updated this revision to Diff 59630.
yaxunl marked 10 inline comments as done.
yaxunl added a comment.

Add a sema test for mismatched type size. Fix codegen test.


http://reviews.llvm.org/D20133

Files:
  lib/CodeGen/CGExprScalar.cpp
  test/CodeGenOpenCL/as_type.cl
  test/SemaOpenCL/as_type.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20133.59630.patch
Type: text/x-patch
Size: 7284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160603/eab74832/attachment.bin>


More information about the cfe-commits mailing list