Anastasia added inline comments.

================
Comment at: clang/test/SemaOpenCLCXX/reinterpret-cast.clcpp:1
+// RUN: %clang_cc1 %s -pedantic -verify -fsyntax-only
+
----------------
olestrohm wrote:
> Anastasia wrote:
> > Btw I assume your patch also allows reinterpret_cast between vectors? What 
> > happens if we cast b/w vector of 3 elements and vector of 4 elements?
> Yes, this is essentially the same as line 10, as int is treated as a 1 
> element vector, but I can add some more test cases that shows this more 
> specifically.
Yes, let's add a few test cases with vector to vector casts. I would especially 
suggest vec3 since it is treated at vec4 in storage I think...


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101519/new/

https://reviews.llvm.org/D101519

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

Reply via email to