summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/vecshift.c
Commit message (Collapse)AuthorAgeFilesLines
* [Sema] Gcc compatibility of vector shiftAndrey Bokhanko2016-10-191-9/+41
| | | | | | | | | | | Gcc prints error if elements of left and right parts of a shift have different sizes. This patch is provided the GCC compatibility. Patch by Vladimir Yakovlev. Differential Revision: https://reviews.llvm.org/D24669 llvm-svn: 284579
* [Sema] Allow shifting a scalar operand by a vector operand.Akira Hatanaka2016-09-151-0/+67
r278501 inadvertently introduced a bug in which it disallowed shifting scalar operands by vector operands when not compiling for OpenCL. This commit fixes it. Patch by Vladimir Yakovlev. Differential Revision: https://reviews.llvm.org/D24467 llvm-svn: 281669
OpenPOWER on IntegriCloud