diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-08-09 04:37:24 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-08-09 04:37:24 +0000 |
commit | 0ecb26a79e39149be95562240e03686421cd84c2 (patch) | |
tree | ce5e26d1ecd9b7613f70e3e76fdac9946e09cb86 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 114394f8246f7829b15e9e7b413ee9e13a60126c (diff) | |
download | bcm5719-llvm-0ecb26a79e39149be95562240e03686421cd84c2.tar.gz bcm5719-llvm-0ecb26a79e39149be95562240e03686421cd84c2.zip |
Change asserts at the top of getVectorShuffle to check that LHS and RHS have the same type as the result.
Previously the asserts were only checking that RHS and LHS were the same type and had the same element type as the result. All downstream code for ISD::VECTOR_SHUFFLE requires the types to be the same.
Also removed one unnecessary check of matched element counts that was present in the code.
llvm-svn: 188051
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions