summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-08-09 04:37:24 +0000
committerCraig Topper <craig.topper@gmail.com>2013-08-09 04:37:24 +0000
commit0ecb26a79e39149be95562240e03686421cd84c2 (patch)
treece5e26d1ecd9b7613f70e3e76fdac9946e09cb86 /clang/lib/CodeGen/CodeGenModule.cpp
parent114394f8246f7829b15e9e7b413ee9e13a60126c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud