commit | c29d5318975aa134f8552fe37f20a15c51d794d8 | [log] [tgz] |
---|---|---|
author | Sebastian Pop <sebpop@gmail.com> | Mon Mar 05 17:35:49 2018 +0000 |
committer | Sebastian Pop <sebpop@gmail.com> | Mon Mar 05 17:35:49 2018 +0000 |
tree | b2c2f5deb333e43f9360d8779c914ec3488ce4ac | |
parent | dafcef6848c5f4cd203f6a55b89d642bbdc60c89 [diff] |
fix PR36582 The error occurs when reading i16 elements (as in the testcase) from a v8i8 with a pattern of <0,2,4,6>. As all the data in the vector is accessed, the operation is not a VUZP. The patch stops the pattern recognition of VUZP when EXTRACT_VECTOR_ELT has a different element type than BUILD_VECTOR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326722 91177308-0d34-0410-b5e6-96231b3b80d8