summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/vector-splat-conversion.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Bugfix] Fix ICE on constexpr vector splat.George Burgess IV2016-01-131-11/+43
| | | | | | | | | | | | | In {CG,}ExprConstant.cpp, we weren't treating vector splats properly. This patch makes us treat splats more properly. Additionally, this patch adds a new cast kind which allows a bool->int cast to result in -1 or 0, instead of 1 or 0 (for true and false, respectively), so we can sanely model OpenCL bool->int casts in the AST. Differential Revision: http://reviews.llvm.org/D14877 llvm-svn: 257559
* [PATCH] Patch to fix the AST for vector splat from any Fariborz Jahanian2015-03-051-0/+19
arithmetic type to a vector so that the arithmatic type matches the vector element type. Without which it crashes in Code Gen. rdar://20000762 llvm-svn: 231419
OpenPOWER on IntegriCloud