summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/ext_vector_components.c
Commit message (Collapse)AuthorAgeFilesLines
* Add .rgba syntax extension to ext_vector_type typesPirama Arumuga Nainar2016-07-221-0/+27
| | | | | | | | | | | | | | | | | | Summary: This patch enables .rgba accessors to ext_vector_type types and adds tests for syntax validation and code generation. 'a' and 'b' can appear either in the point access mode or the numeric access mode (for indices 10 and 11). To disambiguate between the two usages, the accessor type is explicitly passed to relevant methods. Reviewers: rsmith Subscribers: Anastasia, bader, srhines, cfe-commits Differential Revision: http://reviews.llvm.org/D20602 llvm-svn: 276455
* Revert r114316, -Wunused-value enabled by default was intended.Argyrios Kyrtzidis2010-09-191-1/+1
| | | | llvm-svn: 114318
* Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.Argyrios Kyrtzidis2010-09-191-1/+1
| | | | llvm-svn: 114316
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Support OpenCL 1.1 odd-length vector component accessors.Nate Begeman2009-12-151-2/+5
| | | | | | | For hi/odd of an odd-length vector, the last component is undefined. Since we shuffle with an undef vector, no CodeGen needs to change to support this. llvm-svn: 91437
* OpenCL 1.0 Support:Nate Begeman2009-06-261-0/+2
| | | | | | Add support for scalar to vector and partially initialized vector constant initializers. llvm-svn: 74299
* OpenCL 1.0 Support, patch 1/N: upper case swizzle operator and hex element ↵Nate Begeman2009-06-251-0/+5
| | | | | | index. llvm-svn: 74202
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* enhance ExtVectorElementExpr to allow V->xxyy to work like (*V).xxyyChris Lattner2009-02-161-1/+3
| | | | llvm-svn: 64667
* Update support for vector component access on ExtVectors.Nate Begeman2009-01-181-0/+35
llvm-svn: 62440
OpenPOWER on IntegriCloud