summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ext-vector.c
Commit message (Collapse)AuthorAgeFilesLines
* Bring r325915 back.Rafael Espindola2018-02-231-2/+2
| | | | | | | | | | | | | | | The tests that failed on a windows host have been fixed. Original message: Start setting dso_local for COFF. With this there are still some GVs where we don't set dso_local because setGVProperties is never called. I intend to fix that in followup commits. This is just the bare minimum to teach shouldAssumeDSOLocal what it should do for COFF. llvm-svn: 325940
* Add .rgba syntax extension to ext_vector_type typesPirama Arumuga Nainar2016-07-221-0/+37
| | | | | | | | | | | | | | | | | | 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
* the call to UsualArithmeticConversions should come after the call to ↵Jin-Gu Kang2013-09-021-0/+10
| | | | | | CheckVectorOperands on CheckConditionalOperands function. This problem caused compilation error with test17 on "test/CodeGen/ext-vector.c". llvm-svn: 189773
* Added a type checking which handle the case of an ext vector and integral scalarJin-Gu Kang2013-06-081-0/+5
| | | | llvm-svn: 183602
* Add new line.Tanya Lattner2012-01-161-1/+1
| | | | llvm-svn: 148255
* Add support for OpenCL 1.1 logical operations.Tanya Lattner2012-01-161-0/+9
| | | | llvm-svn: 148254
* The comparison of two vectors should return a signed result. ↵Tanya Lattner2011-10-171-7/+8
| | | | | | | | | hasIntegerRepresentation() used to always return false for vectors, but since it was changed, it also changed the return type of a compare of two unsigned vectors to be unsigned. This patch removes the check for hasIntegerRepresentation since its not needed and returns the appropriate signed type. I added a new test case and updated exisiting test cases that assumed an unsigned result. llvm-svn: 142250
* Don't emit nsw flags for vector operations; there's basically no benefit, ↵Eli Friedman2011-05-061-13/+13
| | | | | | and a lot of downside (like PR9850, which is about clang's xmmintrin.h making an unexpected transformation on an expression involving _mm_add_epi32). llvm-svn: 131000
* PR9580: Handle vectors correctly in ScalarExprEmitter::EmitRem.Eli Friedman2011-04-101-9/+125
| | | | | | | While I'm here, FileCheck-ize the ext-vector test, so we actually check what it is generating. llvm-svn: 129241
* Add a couple more tests for coverage.Eli Friedman2010-01-021-1/+10
| | | | llvm-svn: 92430
* fix typoChris Lattner2009-12-231-1/+1
| | | | llvm-svn: 92065
* fix opencl extvector element extraction on rvalues. We previouslyChris Lattner2009-12-231-0/+13
| | | | | | error_unsupported on test10 and crashed on test11. llvm-svn: 92056
* 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
* Make vectorized floating-point comparisons work without crashing.Eli Friedman2009-07-221-0/+14
| | | | llvm-svn: 76726
* reimplement vector comparisons as [fi]cmp+sext instead of using v[if]cmp.Chris Lattner2009-07-081-4/+1
| | | | | | | Also, enable them in sema so that they are tested, and now that the x86 backend has stablized. llvm-svn: 74983
* Codegen sometimes crashes on comparisons that aren't legal, justChris Lattner2009-03-311-2/+8
| | | | | | | disable this feature for now, to err on the side of rejecting instead of sometimes crashing. rdar://6326239 llvm-svn: 68088
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Support evaluation of vector constant expressions, and codegen of same.Nate Begeman2009-01-181-0/+2
| | | | llvm-svn: 62455
* A couple more vector component access fixes.Nate Begeman2009-01-181-1/+1
| | | | llvm-svn: 62443
* rename these tests to match the attribute.Chris Lattner2009-01-051-0/+121
llvm-svn: 61770
OpenPOWER on IntegriCloud