https://llvm.org/bugs/show_bug.cgi?id=28288
Bug ID: 28288 Summary: Error message in shift of vector values Product: new-bugs Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: vbyakov...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Compilation of a test case below fails with an error message. $cat t.c typedef unsigned vec __attribute__ ((vector_size (16))); void f (vec *x) { *x = *x << 4 ; } $clang t.c t.c:6:12: error: cannot convert between vector values of different size ('vec' (vector of 4 'unsigned int' values) and 'int') *x = *x << 4 ; ~~ ^ ~ -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs