diff options
author | Graham Hunter <graham.hunter@arm.com> | 2019-09-17 10:19:23 +0000 |
---|---|---|
committer | Graham Hunter <graham.hunter@arm.com> | 2019-09-17 10:19:23 +0000 |
commit | 1a9195d817d35a0464394018a3575ccfe49eda80 (patch) | |
tree | 92d08a5c76bcc45c9da832e98d49674f6f73f54c /llvm/lib/Target/Mips/MipsSEISelLowering.cpp | |
parent | be2487a2ba43f3929c894e8cf8fe3ddb0b9c6a24 (diff) | |
download | bcm5719-llvm-1a9195d817d35a0464394018a3575ccfe49eda80.tar.gz bcm5719-llvm-1a9195d817d35a0464394018a3575ccfe49eda80.zip |
[SVE][MVT] Fixed-length vector MVT ranges
* Reordered MVT simple types to group scalable vector types
together.
* New range functions in MachineValueType.h to only iterate over
the fixed-length int/fp vector types.
* Stopped backends which don't support scalable vector types from
iterating over scalable types.
Reviewers: sdesmalen, greened
Reviewed By: greened
Differential Revision: https://reviews.llvm.org/D66339
llvm-svn: 372099
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSEISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsSEISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsSEISelLowering.cpp b/llvm/lib/Target/Mips/MipsSEISelLowering.cpp index a79c3a089c4..ca4638561da 100644 --- a/llvm/lib/Target/Mips/MipsSEISelLowering.cpp +++ b/llvm/lib/Target/Mips/MipsSEISelLowering.cpp @@ -71,8 +71,8 @@ MipsSETargetLowering::MipsSETargetLowering(const MipsTargetMachine &TM, if (Subtarget.hasDSP() || Subtarget.hasMSA()) { // Expand all truncating stores and extending loads. - for (MVT VT0 : MVT::vector_valuetypes()) { - for (MVT VT1 : MVT::vector_valuetypes()) { + for (MVT VT0 : MVT::fixedlen_vector_valuetypes()) { + for (MVT VT1 : MVT::fixedlen_vector_valuetypes()) { setTruncStoreAction(VT0, VT1, Expand); setLoadExtAction(ISD::SEXTLOAD, VT0, VT1, Expand); setLoadExtAction(ISD::ZEXTLOAD, VT0, VT1, Expand); |