diff options
author | Michael Liao <michael.liao@intel.com> | 2013-10-15 17:51:58 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2013-10-15 17:51:58 +0000 |
commit | ad71659def09fecdcebd6683128c533eb479dae8 (patch) | |
tree | 24f6d0a3d4a572c4b0cfac87bec874df201229d8 /clang/lib/AST/ExprCXX.cpp | |
parent | 8ba068211d7e2a5976cad7272465c20efa0ce8a6 (diff) | |
download | bcm5719-llvm-ad71659def09fecdcebd6683128c533eb479dae8.tar.gz bcm5719-llvm-ad71659def09fecdcebd6683128c533eb479dae8.zip |
Fix PR17546
- Type of index used in extract_vector_elt or insert_vector_elt supposes
to be TLI.getVectorIdxTy() which is pointer type on most targets. It'd
better to truncate (or zero-extend in case it's changed later) it to
mask element type to guarantee they are matching instead of asserting
that.
llvm-svn: 192722
Diffstat (limited to 'clang/lib/AST/ExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions