[PATCH] D101519: [C++4OpenCL] Fix reinterpret_cast of vectors
Ole Strohm via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 11 08:38:34 PDT 2021
olestrohm updated this revision to Diff 344408.
olestrohm added a comment.
I tried to add a special case for 3 and 4 element vectors, but that caused issues in codgen, so I've left it as a FIXME for now.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101519/new/
https://reviews.llvm.org/D101519
Files:
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaCast.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGenOpenCLCXX/reinterpret_cast.clcpp
clang/test/SemaOpenCLCXX/reinterpret-cast.clcpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101519.344408.patch
Type: text/x-patch
Size: 4992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210511/45d278ea/attachment.bin>
More information about the cfe-commits
mailing list