summaryrefslogtreecommitdiff
path: root/test/CodeGen/ext-vector.c
Commit message (Collapse)AuthorAge
* the call to UsualArithmeticConversions should come after the call to ↵Jin-Gu Kang2013-09-02
| | | | | | CheckVectorOperands on CheckConditionalOperands function. This problem caused compilation error with test17 on "test/CodeGen/ext-vector.c". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189773 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a type checking which handle the case of an ext vector and integral scalarJin-Gu Kang2013-06-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183602 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new line.Tanya Lattner2012-01-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148255 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for OpenCL 1.1 logical operations.Tanya Lattner2012-01-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148254 91177308-0d34-0410-b5e6-96231b3b80d8
* The comparison of two vectors should return a signed result. ↵Tanya Lattner2011-10-17
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142250 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't emit nsw flags for vector operations; there's basically no benefit, ↵Eli Friedman2011-05-06
| | | | | | 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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131000 91177308-0d34-0410-b5e6-96231b3b80d8
* PR9580: Handle vectors correctly in ScalarExprEmitter::EmitRem.Eli Friedman2011-04-10
| | | | | | | | | While I'm here, FileCheck-ize the ext-vector test, so we actually check what it is generating. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129241 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a couple more tests for coverage.Eli Friedman2010-01-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92430 91177308-0d34-0410-b5e6-96231b3b80d8
* fix typoChris Lattner2009-12-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92065 91177308-0d34-0410-b5e6-96231b3b80d8
* fix opencl extvector element extraction on rvalues. We previouslyChris Lattner2009-12-23
| | | | | | | error_unsupported on test10 and crashed on test11. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92056 91177308-0d34-0410-b5e6-96231b3b80d8
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-15
| | | | | | | | | - 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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
* Make vectorized floating-point comparisons work without crashing.Eli Friedman2009-07-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76726 91177308-0d34-0410-b5e6-96231b3b80d8
* reimplement vector comparisons as [fi]cmp+sext instead of using v[if]cmp.Chris Lattner2009-07-08
| | | | | | | | | Also, enable them in sema so that they are tested, and now that the x86 backend has stablized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74983 91177308-0d34-0410-b5e6-96231b3b80d8
* Codegen sometimes crashes on comparisons that aren't legal, justChris Lattner2009-03-31
| | | | | | | | disable this feature for now, to err on the side of rejecting instead of sometimes crashing. rdar://6326239 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68088 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename clang to clang-cc.Daniel Dunbar2009-03-24
| | | | | | | Tests and drivers updated, still need to shuffle dirs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
* Support evaluation of vector constant expressions, and codegen of same.Nate Begeman2009-01-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62455 91177308-0d34-0410-b5e6-96231b3b80d8
* A couple more vector component access fixes.Nate Begeman2009-01-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62443 91177308-0d34-0410-b5e6-96231b3b80d8
* rename these tests to match the attribute.Chris Lattner2009-01-05
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61770 91177308-0d34-0410-b5e6-96231b3b80d8