summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/builtins-systemz-zvector.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Bugfix] Fix ICE on constexpr vector splat.George Burgess IV2016-01-131-0/+50
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
OpenPOWER on IntegriCloud