diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-02-06 17:30:04 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-02-06 17:30:04 +0000 |
commit | 96d5dc77faaee7188c4ff14b94938a1acffa4c1e (patch) | |
tree | e41ec6fb440ce99975dc1b6d771d4020c7dd168b /llvm/lib/CodeGen/SplitKit.h | |
parent | 7dc96dea0a566cfe14c4d2826773bae9e9a87b85 (diff) | |
download | bcm5719-llvm-96d5dc77faaee7188c4ff14b94938a1acffa4c1e.tar.gz bcm5719-llvm-96d5dc77faaee7188c4ff14b94938a1acffa4c1e.zip |
Revert "OpenCL: handle shift operator with vector operands"
This reverts commit r228382.
This breaks the following case: Reported by Jeroen Ketema:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150202/122961.html
typedef __attribute__((ext_vector_type(3))) char char3;
void foo() {
char3 v = {1,1,1};
char3 w = {1,2,3};
w <<= v;
}
If I compile with:
clang -x cl file.c
Then an error is produced:
file.c:10:5: error: expression is not assignable
w <<= v;
~ ^
1 error generated.
llvm-svn: 228406
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
0 files changed, 0 insertions, 0 deletions