summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/mve-sext.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DAGCombine] Initialize the default operation action for SIGN_EXTEND_INREG ↵QingShan Zhang2020-01-031-2/+100
| | | | | | | | | | | for vector type as 'expand' instead of 'legal' For now, we didn't set the default operation action for SIGN_EXTEND_INREG for vector type, which is 0 by default, that is legal. However, most target didn't have native instructions to support this opcode. It should be set as expand by default, as what we did for ANY_EXTEND_VECTOR_INREG. Differential Revision: https://reviews.llvm.org/D70000
* [ARM] MVE sext and widen/narrow tests from larger types. NFCDavid Green2019-09-241-2/+362
| | | | llvm-svn: 372719
* [ARM] MVE vector for 64bit typesDavid Green2019-07-151-0/+47
| | | | | | | | | | | | We need to make sure that we are sensibly dealing with vectors of types v2i64 and v2f64, even if most of the time we cannot generate native operations for them. This mostly adds a lot of testing, plus fixes up a couple of the issues found. And, or and xor can be legal for v2i64, and shifts combining needs a slight fixup. Differential Revision: https://reviews.llvm.org/D64316 llvm-svn: 366106
* [ARM] Add sign and zero extend patterns for MVEDavid Green2019-07-131-0/+93
The vmovlb instructions can be uses to sign or zero extend vector registers between types. This adds some patterns for them and relevant testing. The VBICIMM generation is also put behind a hasNEON check (as is already done for VORRIMM). Code originally by David Sherwood. Differential Revision: https://reviews.llvm.org/D64069 llvm-svn: 366008
OpenPOWER on IntegriCloud