summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL/vector_literals_invalid.cl
Commit message (Collapse)AuthorAgeFilesLines
* [OpenCL] Added regression test on invalid vector initialization.Egor Churaev2017-05-251-1/+2
| | | | | | | | | | | | | | Summary: This patch increases code coverage. Reviewers: Anastasia Reviewed By: Anastasia Subscribers: cfe-commits, bader, yaxunl Differential Revision: https://reviews.llvm.org/D33489 llvm-svn: 303844
* In the OpenCL mode, the AltiVec mode must be off and checks must be strictTobias Grosser2011-09-211-1/+1
| | | | | | | | | | OpenCL is different from AltiVec in the way it supports vector literals. OpenCL is strict with regards to semantic checks. For example, implicit conversions and explicit casts between vectors of different types are disallowed. Fixes PR10975. Submitted by: Anton Lokhmotov <Anton.lokhmotov@gmail.com> llvm-svn: 140270
* This handles the missing cases of opencl vector literals.Tanya Lattner2011-07-151-0/+13
Test cases provided by Anton Lokhmot. llvm-svn: 135322
OpenPOWER on IntegriCloud