]> granicus.if.org Git - clang/commit
Testing with a full OpenCL compiler (based on clang) reveals r71734 missed
authorDavid Tweed <david.tweed@arm.com>
Thu, 10 Jan 2013 09:11:33 +0000 (09:11 +0000)
committerDavid Tweed <david.tweed@arm.com>
Thu, 10 Jan 2013 09:11:33 +0000 (09:11 +0000)
commitf20318f9e27a064bdd9a3fbb51d2c3a4a4f3ac2e
tree69f7e60ba7609f274457f99f64d51fb22abbeb07
parentf9c21665faa7e4936d484396469ee7afc46e1f00
Testing with a full OpenCL compiler (based on clang) reveals r71734 missed
difference between type widths of a vector and the width of one of its elements
in the case of vector shifts. Use correct witdth in the vector case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172047 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp