commit | e9abd40f5c6ad7f17936b45a8421b4b4995488aa | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Fri Oct 12 22:00:00 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Fri Oct 12 22:00:00 2018 +0000 |
tree | e345b1abab24669515d207e7495da1a6df7b2b21 | |
parent | 18cda8141231bc1afa46d2ea805c319edf4589e6 [diff] |
[X86] Simplify the end of custom type legalization for (v2i32/v4i16/v8i8 (bitcast (f64))) by just emitting an EXTRACT_SUBVECTOR instead of a BUILD_VECTOR. Generic legalization should be able to finish legalizing the EXTRACT_SUBVECTOR probably by turning it into a BUILD_VECTOR. But we should emit the simplest sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344424 91177308-0d34-0410-b5e6-96231b3b80d8