bader accepted this revision.
bader added a comment.
This revision is now accepted and ready to land.

LGTM.


================
Comment at: test/CodeGenOpenCL/as_type.cl:6
@@ +5,3 @@
+
+//CHECK: define spir_func <3 x i8> @f1(<4 x i8> %[[x:.*]])
+//CHECK: %[[astype:.*]] = shufflevector <4 x i8> %[[x]], <4 x i8> undef, <3 x 
i32> <i32 0, i32 1, i32 2>
----------------
Could you also one test case that requires bitcast from vector type to 
4-element vector type, please?
E.g. short2 <-> char3 or char16 <-> int3.


http://reviews.llvm.org/D20133



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to