Fix a crash in OpenCL code by using the proper (RHS) bit-width.
authorJoey Gouly <joey.gouly@arm.com>
Tue, 29 Jan 2013 15:09:40 +0000 (15:09 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Tue, 29 Jan 2013 15:09:40 +0000 (15:09 +0000)
commit0942e0b5e17f05858fa6fbca37496e4f7e714668
tree3dc1e6ccd6c174342e75e2501009714e515f038a
parentcf3300016eb747755a4cf31638c8d4b0ac1b1ae6
Fix a crash in OpenCL code by using the proper (RHS) bit-width.

llvm-svn: 173802
clang/lib/AST/ExprConstant.cpp
clang/test/SemaOpenCL/shifts.cl