summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/overload.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenCL] Added implicit conversion rank for overloading functions with ↵Egor Churaev2017-03-211-0/+46
vector data type in OpenCL Summary: I added a new rank to ImplicitConversionRank enum to resolve the function overload ambiguity with vector types. Rank of scalar types conversion is lower than vector splat. So, we can choose which function should we call. See test for more details. Reviewers: Anastasia, cfe-commits Reviewed By: Anastasia Subscribers: bader, yaxunl Differential Revision: https://reviews.llvm.org/D30816 llvm-svn: 298366
OpenPOWER on IntegriCloud