summaryrefslogtreecommitdiff
path: root/lib/Transforms
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
commitad445a60d0d899d235f75d8b4e01c5f75cdf4f23 (patch)
tree8799bbac691d4f15769fd7b9464a71b613783382 /lib/Transforms
parent3d7f79a02e143cfcbc85ea2091f2797285a9db84 (diff)
downloadllvm-ad445a60d0d899d235f75d8b4e01c5f75cdf4f23.tar.gz
llvm-ad445a60d0d899d235f75d8b4e01c5f75cdf4f23.tar.bz2
llvm-ad445a60d0d899d235f75d8b4e01c5f75cdf4f23.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
0 files changed, 0 insertions, 0 deletions